Soxway Docs
Authentication

Revoke token

Revoke a specific personal access token by ID.

DELETE
/v1/auth/tokens/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Personal access token obtained via POST /v1/auth/token

In: header

Path Parameters

id*integer

Response Body

application/json

application/json

curl -X DELETE "https://api.soxway.io/v1/auth/tokens/0"
{
  "message": "Token revoked successfully."
}
{
  "error": {
    "code": 1001,
    "message": "Authentication token is missing.",
    "description": "Include a Bearer token in the Authorization header.",
    "field": "string",
    "errors": [
      {}
    ]
  }
}