Deletes an alias without affecting the CMK bound to it.
Operation description
For the access policy required for a RAM user or RAM role to call this operation, see Resource Access Management.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AliasName |
string |
Yes |
The alias that you want to delete. The value must be 1 to 255 characters in length and must include the alias/ prefix. |
alias/example |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4c8ae23f-3a42-6791-a4ba-1faa77831c28 |
Examples
Success response
JSON format
{
"RequestId": "4c8ae23f-3a42-6791-a4ba-1faa77831c28"
}
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. |
| 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.