Revokes the JWT in the Authorization header so it can no longer authenticate. Requires a JWT bearer token whose scope can delete oauth objects. By default Basic User, Call Center Supervisor, Office Manager, Reseller, and Super User can. The revocation applies on this server at once and on the rest of the cluster shortly after. The call also clears the ns_access_token and ns_refresh_token cookies. Your refresh token stays valid. To revoke it, call DELETE /jwt/{jti} with its JTI.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Responses
🟢202Accepted
application/json
The token is revoked. The status comes from NsHttpStatusCodeSuccessDelete, which is 202 in the shipped configuration.