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
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"
}
}Was this page helpful?