Delete the current identity

Delete the current identity when authenticated as an identity.

DELETE https://api.jsonpad.io/identities/self

Example

cURL
12345curl https://api.jsonpad.io/identities/self \ -X DELETE \ -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-12-12