cURL
curl --request POST \ --url https://{your-domain}/wp-json/jwt-auth/v1/token/revoke \ --header 'Authorization: Bearer <token>'
{ "code": "jwt_auth_token_revoked", "data": { "status": 200, "revoked_at": "2025-06-29 22:55:30" } }
Revokes the current JWT token, making it immediately invalid
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Token revoked successfully
The response is of type object.
object
Was this page helpful?