Deleting a Token
You can delete a token in case they become compromised.
Only the token creator can delete a token; this means that only users with the Create Impersonated Token permission and a Manage Users permission (see Permissions for access-token-controller) can delete IMPERSONATED tokens.
Once a token has been deleted it can no longer be used to access the APIs.
Call the /token/{tokenName} endpoint using DELETE, where you pass the name of the token to be deleted as a path parameter. Note that the token name is case sensitive.
Item |
Description |
URI |
/uar/v1/token/{tokenName} |
Method |
DELETE |
Query parameters |
N/A |
Request body |
N/A |
Response codes |
204: Success, no content. |
Sample Response
For a successful DELETE, the status code 204 is returned, but no response is provided.