Domain name for API request: redis.tencentcloudapi.com.
This API is used to view instance sub-account information.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeInstanceAccount. |
Version | Yes | String | Common Params. The value used for this API: 2018-04-12. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
InstanceId | Yes | String | Instance ID |
Limit | Yes | Integer | Number of entries per page |
Offset | Yes | Integer | Page offset |
Parameter Name | Type | Description |
---|---|---|
Accounts | Array of Account | Account details Note: This field may return null, indicating that no valid values can be obtained. |
TotalCount | Integer | Number of accounts Note: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://redis.tencentcloudapi.com/?Action=DescribeInstanceAccount
&InstanceId=crs-5a4py64p
&Limit=10
&Offset=0
&<Common request parameters>
{
"Response": {
"Accounts": [
{
"InstanceId": "crs-fdjfkldf",
"AccountName": "test",
"Remark": "test",
"Privilege": "rw",
"ReadonlyPolicy": [
"master"
],
"Status": 2
}
],
"TotalCount": 1,
"RequestId": "0e728fa9-c2e5-4bf8-8d6b-c1c4fab7b6db"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation.SystemError | Internal system error, which is irrelevant to the business. |
InternalError.InternalError | Internal error. |
InvalidParameter.PermissionDenied | The API has no CAM permissions. |
UnauthorizedOperation.NoCAMAuthed | No CAM permissions. |
UnauthorizedOperation.UserNotInWhiteList | The user is not in the allowlist. |
本页内容是否解决了您的问题?