All Products
Search
Document Center

Resource Management:DeregisterDelegatedAdministrator

Last Updated:Dec 18, 2023

Removes a delegated administrator account for a trusted service.

Operation description

If the delegated administrator account that you want to remove has historical management tasks in the related trusted service, the trusted service may be affected after the delegated administrator account is removed. Therefore, proceed with caution.

Debugging

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

Debug

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AccountIdstringYes

The Alibaba Cloud account ID of the member in the resource directory.

181761095690****
ServicePrincipalstringYes

The identifier of the trusted service.

cloudfw.aliyuncs.com

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The ID of the request.

DF5D5C52-7BD0-40E7-94C6-23A1505038A2

Examples

Sample success responses

JSONformat

{
  "RequestId": "DF5D5C52-7BD0-40E7-94C6-23A1505038A2"
}

Error codes

HTTP status codeError codeError message
409InvalidParameter.ServicePrincipalThe specified ServicePrincipal is invalid.
409AccountNotRegisteredThe specified account is not a delegated administrator for this service.

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

Change history

Change timeSummary of changesOperation
No change history