Description: Revoke an access token by providing a JSON web token (JWT) or reference token.
Since: 7.68
Authorization: Requires admin permissions.
Security: Requires a valid token.
Usage: DELETE /access/api/v1/tokens/revoke
Produces: application/json
Sample Usage:
curl -H "Authorization: Bearer <valid access token>" -XDELETE "http://localhost:8082/access/api/v1/tokens/7e0eec..." 200 OK {"revoked-token-id":"123-123-123"}
This endpoint can take the following parameter:
| The JWT or reference token value for the token to be revoked |
Errors:
400 - If the token was created by a different Artifactory instance (and therefore cannot be revoked)
401- Unauthenticated
403 - The authenticated principal has no permissions to revoke the requested token