Delete an API token

​

An ACT sign-in token (type handoff) may delete only itself, i.e. sign itself out, and gets 403 for any other token.

Path Parameters

  • ID of user

  • ID of token

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for delete/auth/{userId}/token/{tokenId}
curl https://test.boost.space/api/auth/1/token/1 \
  --request DELETE \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "id": 1,
  "remotes": [
    {
      "id": "1",
      "application": "string",
      "delete": true
    }
  ]
}