Enables or disables the single sign-on (SSO) feature for an AD-based office network.
Operation description
This operation has the same effect as SetOfficeSiteSsoStatus. Use the SetOfficeSiteSsoStatus operation instead.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:SetDirectorySsoStatus |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the regions supported by Elastic Desktop Service. |
cn-hangzhou |
| DirectoryId |
string |
Yes |
The ID of the AD office network. |
cn-hangzhou+dir-h95efs1mbukd9**** |
| EnableSso |
boolean |
Yes |
Specifies whether to enable or disable single sign-on (SSO). Valid values:
Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.