All Products
Search
Document Center

Server Migration Center:DisableAccessToken

Last Updated:Mar 03, 2024

Disables an activation code.

Operation description

To prevent an activation code from being leaked, you can call this operation to disable the activation code. Disabled activation codes can no longer be used to import the information about migration sources. However, migration sources whose information has been imported are not affected.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AccessTokenIdstringYes

The ID of the activation code.

at-bp12g5gwup0yzmce****

Response parameters

ParameterTypeDescriptionExample
object

The request ID.

RequestIdstring

The request ID.

686BB8A6-BBA5-47E5-8A75-D2ADE433****

Examples

Sample success responses

JSONformat

{
  "RequestId": "686BB8A6-BBA5-47E5-8A75-D2ADE433****"
}

Error codes

HTTP status codeError codeError messageDescription
500InternalErrorAn error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket.An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-07-26The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 500