Queries the status of Key Management Service (KMS) within your Alibaba Cloud account.
Operation description
For more information about the access policy required by a RAM user or RAM role to call this API, see Resource Access Management.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccountStatus |
string |
The status of KMS within your Alibaba cloud account. Valid values:
Note
If your Alibaba Cloud account is overdue, top up your account at the earliest opportunity to avoid impacts on your services.
|
Enabled |
| RequestId |
string |
The request ID. |
3ac84333-d64d-4784-a8bc-997834a7ac6c |
Examples
Success response
JSON format
{
"AccountStatus": "Enabled",
"RequestId": "3ac84333-d64d-4784-a8bc-997834a7ac6c"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is not valid. | An invalid value is specified for the parameter. |
| 403 | Forbidden.NoPermission | This operation is forbidden by permission system. | |
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.