You can call this operation to grant permissions to the service account of an AnalyticDB for MySQL cluster.
If an Alibaba Cloud technical support representative is required to assist you by performing operations on your AnalyticDB for MySQL cluster, you must authorize a service account for the technical support representative to use.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GrantOperatorPermission |
The operation that you want to perform. Set the value to GrantOperatorPermission. |
DBClusterId | String | Yes | rm-uf6wjk5xxxxxxxxxx |
The ID of the cluster. |
ExpiredTime | String | Yes | 2019-05-20T05:41:19Z |
The time when the permissions are expired. |
Privileges | String | Yes | Control |
Authrization type: Control|Data. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 1AD222E9-E606-4A42-BF6D-8A4442913CEF |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=GrantOperatorPermission
&DBClusterId=rm-uf6wjk5xxxxxxxxxx
&ExpiredTime=2019-05-20T05:41:19Z
&Privileges=Control
&<Common request parameters>
Sample success responses
XML
format
<RequestId>1AD222E9-E606-4A42-BF6D-8A4442913CEF</RequestId>
JSON
format
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF"
}
Error codes
For a list of error codes, visit the API Error Center.