UpdateIDProvider
In this article:
UpdateIDProvider#
Description#
Updates parameters of an identity provider.
Request Parameters#
Required parameters#
IDProviderName — The name of the identity provider.
Type: String
Required: Yes
Optional parameters#
AuthUrl — Auth URL.
Type: String
Required: No
ClientId — The customer ID.
Type: String
Required: No
ClientSecret — The client secret.
Type: String
Required: No
LogoutUrl — Logout URL.
Type: String
Required: No
TokenUrl — Token URL.
Type: String
Required: No
Response Elements#
IDProvider — Updated information about the identity provider.
Type: IDProvider object
Examples#
Request
https://iam.k2.cloud/?Action=UpdateIDProvider
&IDProviderName=company
&ClientId=new-client-id
&ClientSecret=new-secret
&AuthUrl=https://new.com/authorize
&LogoutUrl=https://new.com/logout
&TokenUrl=https://new.com/token
Response
<UpdateIDProviderResponse>
<UpdateIDProviderResult>
<IDProvider>
<IDProviderArn>arn:c2:iam::c2dev:id-provider/company</IDProviderArn>
<IDProviderId>3f9e842c-11ee-4430-898f-29b91be64f2a</IDProviderId>
<IDProviderName>company</IDProviderName>
<CreateDate>1730892408</CreateDate>
<UpdateDate>1730895963</UpdateDate>
<ClientId>new-client-id</ClientId>
<AuthUrl>https://new.sp.com/adfs/oauth2/authorize</AuthUrl>
<LogoutUrl>https://new.sp.com/adfs/oauth2/logout</LogoutUrl>
<TokenUrl>https://new.sp.com/adfs/oauth2/token</TokenUrl>
<LoginPage>https://company.idp.k2.cloud</LoginPage>
</IDProvider>
</UpdateIDProviderResult>
<requestId>03be1720-8c60-403e-8359-35dd489285b0</requestId>
<ResponseMetadata>
<RequestId>03be1720-8c60-403e-8359-35dd489285b0</RequestId>
</ResponseMetadata>
</UpdateIDProviderResponse>
c2-iam UpdateIDProvider IDProviderName company ClientId new-client-id ClientSecret new-secret
c2-iam UpdateIDProvider IDProviderName company AuthUrl https://new.com/auth LogoutUrl https://new.com/logout TokenUrl https://new.com/token