v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Security

Invalidate Token

Invalidates the existing JSON Web Token (JWT) for the API provided in the Authorization header.

post/public/api/auth/invalidate_token

Headers

Acceptstring

e.g. application/json

Response

OK

successboolean
tokenstring
user_idstring
usernamestring
tenantstring

Example response

{
  "success": true,
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
  "user_id": "53fb03c6546847fe0d30186b",
  "username": "mycompany+yoobicserviceaccount@mycompany.com",
  "tenant": "mycompany"
}