All Products
Search
Document Center

WUYING Workspace:SetDirectorySsoStatus

Last Updated:Apr 03, 2024

Configures the single sign-on (SSO) status of an Active Directory (AD) directory.

Operation description

This operation is supported only for AD directories, not for RAM directories.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
DirectoryIdstringYes

The AD directory ID.

cn-hangzhou+dir-h95efs1mbukd9****
EnableSsobooleanYes

Specifies whether to enable SSO. Valid values:

  • true: enables SSO.
  • false: disables SSO.
true

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history