You can call the DisableAccessToken operation to disable an activation code.
Operation description
If you suspect that an activation code is compromised, call this operation to disable it. A disabled activation code cannot be used to register new migration sources. Existing migration sources are not affected.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smc:DisableAccessToken |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccessTokenId |
string |
Yes |
The ID of the activation code. |
at-bp12g5gwup0yzmce**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The ID of the request. |
||
| RequestId |
string |
The ID of the request. |
686BB8A6-BBA5-47E5-8A75-D2ADE433**** |
Examples
Success response
JSON format
{
"RequestId": "686BB8A6-BBA5-47E5-8A75-D2ADE433****"
}
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. | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.