Logout an identity

Logout of an identity and revoke any active tokens.

POST https://api.jsonpad.io/identities/logout

Example

cURL
12345curl https://api.jsonpad.io/identities/logout \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>" \
  -H "x-identity-token: <IDENTITY TOKEN>" \
  -H "x-identity-group: <IDENTITY GROUP>"

Parameters

No parameters

Request headers

  • required
    x-api-tokenstringYour API token.
  • required
    x-identity-tokenstringAn identity token.
  • required
    x-identity-groupstringAn identity group.

Request body

No request body

Response body

204 No Content

No response body

Response headers

No response headers

2024-10-29