Specifies a member in a resource directory as a delegated administrator account of a trusted service.
The delegated administrator account can be used to access the information of the resource directory and view the structure and members of the resource directory. The delegated administrator account can also be used to perform service-related management operations in the trusted service on behalf of the management account of the resource directory. When you call this operation, you must take note of the following limits:
- Only some trusted services support delegated administrator accounts. For more information, see Supported trusted services.
- Only the management account of a resource directory or an authorized RAM user or RAM role of the management account can be used to call this operation.
- The number of delegated administrator accounts that are allowed for a trusted service is defined by the trusted service.
The Alibaba Cloud account ID of the member in the resource directory.
The identifier of the trusted service.
For more information, see the
Sample success responses
|HTTP status code
|The specified ServicePrincipal is invalid.
|The specified account is already a delegated administrator for this service.
|The maximum number of delegated administrators for the service principal is exceeded.
|You attempted to register the enterprise management account as a delegated administrator for the service. You can designate only a member account as a delegated administrator.
For a list of error codes, visit the Service error codes.
|Summary of changes