DeprovisionAccessConfiguration
Deprovisions an access configuration from an account in a resource directory.
Operation description
This API operation is asynchronous. You can use the TaskId returned in the response parameters to call GetTask and query the task execution status.
This topic provides an example of deprovisioning the access configuration ac-00jhtfl8thteu6uj**** from the account in a resource directory 114240524784****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:DeprovisionAccessConfiguration |
update |
*AccessConfiguration
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The directory ID. |
d-00fc2p61**** |
| AccessConfigurationId |
string |
Yes |
The ID of the access configuration. |
ac-00jhtfl8thteu6uj**** |
| TargetType |
string |
Yes |
The type of the task target. Valid values:
|
RD-Account |
| TargetId |
string |
Yes |
The ID of the task target. |
114240524784**** |
| OriginTargetId |
string |
No |
The ID of the Alibaba Cloud account to which the deployment target belongs. |
114240524784**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| Tasks |
array<object> |
The task information. |
|
|
object |
The task information. |
||
| Status |
string |
The task status. Valid values:
|
InProgress |
| TaskId |
string |
The task ID. |
t-sh0655wnq8pdlrlc**** |
| TargetPath |
string |
The path ID of the task target in the resource directory. |
rd-3G****/r-Wm****/114240524784**** |
| TargetName |
string |
The name of the task target. |
dev-test |
| TargetId |
string |
The ID of the task target. |
114240524784**** |
| AccessConfigurationName |
string |
The name of the access configuration. |
ECS-Admin |
| TargetPathName |
string |
The path name of the task target in the resource directory. |
rd-3G****/root/dev-test |
| TaskType |
string |
The task type. Valid values:
|
DeprovisionAccessConfiguration |
| TargetType |
string |
The type of the task target. Valid values:
|
RD-Account |
| AccessConfigurationId |
string |
The ID of the access configuration. |
ac-00jhtfl8thteu6uj**** |
| OriginTargetId |
string |
The ID of the Alibaba Cloud account to which the deployment target belongs. |
114240524784**** |
| RequestId |
string |
The request ID. |
584FE9D0-D1AC-5B19-A39C-8D244FC0538C |
Examples
Success response
JSON format
{
"Tasks": [
{
"Status": "InProgress",
"TaskId": "t-sh0655wnq8pdlrlc****",
"TargetPath": "rd-3G****/r-Wm****/114240524784****",
"TargetName": "dev-test",
"TargetId": "114240524784****",
"AccessConfigurationName": "ECS-Admin",
"TargetPathName": "rd-3G****/root/dev-test",
"TaskType": "DeprovisionAccessConfiguration",
"TargetType": "RD-Account",
"AccessConfigurationId": "ac-00jhtfl8thteu6uj****",
"OriginTargetId": "114240524784****"
}
],
"RequestId": "584FE9D0-D1AC-5B19-A39C-8D244FC0538C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.