All Products
Search
Document Center

Resource Management:DeregisterDelegatedAdministrator

Last Updated:Aug 28, 2026

Removes a delegated administrator account for a trusted service.

Operation description

If the delegated administrator account has historical management tasks in the trusted service, removing it may affect the service. Proceed with caution.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

AccountId

string

Yes

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

181761095690****

ServicePrincipal

string

Yes

The identifier of the trusted service.

cloudfw.aliyuncs.com

Response elements

Element

Type

Description

Example

object

The returned result.

RequestId

string

The request ID.

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

Examples

Success response

JSON format

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

Error codes

HTTP status code

Error code

Error message

Description

409 InvalidParameter.ServicePrincipal The specified ServicePrincipal is invalid.
409 AccountNotRegistered The specified account is not a delegated administrator for this service.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.