Deletes an activation code.

Description

You can call this operation to delete an activation code if you no longer need to import the information of migration sources by using the activation code or if the activation code has expired.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteAccessToken

The operation that you want to perform. Set the value to DeleteAccessToken.

AccessTokenId String No at-bp1akz2zp67r0k6r****

The ID of the activation code.

Response parameters

Parameter Type Example Description
RequestId String DB4A7EA2-6FDA-5655-B067-854532FB****

The ID of the request.

Examples

Sample request

http(s)://smc.aliyuncs.com/?Action=DeleteAccessToken
&AccessTokenId=at-bp1akz2zp67r0k6r****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteAccessTokenResponse>
    <RequestId>DB4A7EA2-6FDA-5655-B067-854532FB****</RequestId>
</DeleteAccessTokenResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "DB4A7EA2-6FDA-5655-B067-854532FB****"
}

Error codes

HTTP status code Error code Error message Description
500 InternalError An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. The error message returned because an internal error has occurred. Try again later. If the error persists, submit a ticket.

For a list of error codes, visit the API Error Center.