edit-icon download-icon

UpdateAlias

Last Updated: Apr 02, 2018

Description

Associates an existing alias with a different CMK.

Request parameters

Name Type Required Description
AliasName string Yes The name of the alias to be modified.
- The name must start with the word “alias” and must be followed by a forward slash (alias/).
- Not including the prefix, the minimum length of an alias is 1 and the maximum length is 255.
KeyId string Yes Globally unique identifier of the CMK.

Response parameters

Name Type Description
RequestId String The ID of this request.

Examples

Request example

  1. https://kms.cn-hangzhou.aliyuncs.com/?Action=UpdateAlias
  2. &AliasName=<alias name>
  3. &KeyId=<target keyid>
  4. &<Common Request Parameters>

Response example

JSON format

  1. //json response
  2. {
  3. "RequestId": "1d2baaf3-d357-46c2-832e-13560c2bd9cd"
  4. }

XML format

  1. //xml response
  2. <KMS>
  3. <RequestId>1d2baaf3-d357-46c2-832e-13560c2bd9cd</RequestId>
  4. </KMS>
Thank you! We've received your feedback.