Revoking an Access Token
Go Up to Obtaining Authorization to Use the API
After you request a new access token using a refresh token, if your previous access token has not expired, you should revoke it so that it cannot be used anymore to access the Team Server API.
To revoke an access token, perform an API request with the following parameters:
Item | Value |
---|---|
URL |
http://teamserver.example.com/api/revoketoken/<token> |
Method |
DELETE
|
On success, Team Server responds "revoke", and the target access token cannot be used anymore to access the Team Server API.