Modifies information of an identity provider (IdP) for role-based SSO.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateSAMLProvider

The operation that you want to perform. Set the value to UpdateSAMLProvider.

SAMLProviderName String Yes test-provider

The name of the IdP that you want to modify.

NewDescription String No This is a new provider.

The new description.

NewEncodedSAMLMetadataDocument String No PD94bWwgdmVy****

The new metadata file.

Response parameters

Parameter Type Example Description
RequestId String E5EDDFD2-3654-4F9F-9780-4AE7D81823EF

The ID of the request.

SAMLProvider Struct

The information of the IdP.

Arn String acs:ram::177242285274****:saml-provider/test-provider

The Alibaba Cloud Resource Name (ARN) of the IdP.

CreateDate String 2020-10-22T02:37:05Z

The creation time.

Description String This is a new provider.

The description.

SAMLProviderName String test-provider

The name of the IdP.

UpdateDate String 2020-10-22T02:51:20Z

The update time.


Sample requests

&NewDescription=This is a new provider.
&<Common request parameters>

Sample success responses

XML format

                    <Description>This is a new provider. </Description>

JSON format

  "RequestId": "E5EDDFD2-3654-4F9F-9780-4AE7D81823EF",
  "SAMLProvider": {
    "UpdateDate": "2020-10-22T02:51:20Z",
    "SAMLProviderName": "test-provider",
    "Description": "This is a new provider.",
    "Arn": "acs:ram::177242285274****:saml-provider/test-provider",
    "CreateDate": "2020-10-22T02:37:05Z"

Error codes

For a list of error codes, visit the API Error Center.