Revoke a token – Management API – MediaKind

Revoke a token

del https://app.mk.io/api/v1/user/tokens/:token_id

Revoke a token by its ID. The ID is the value of the decoded token's jti property.

Requires authentication; no additional RBAC permissions required.

Authentication

Authorization Bearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

token_id string Required format: uuid

Response

200 OK

No response body.

Errors

400 Bad Request

error object ErrorDetail Required

Pertinent information about the error

401 Unauthorized

error object ErrorDetail Required

Pertinent information about the error

403 Forbidden

error object ErrorDetail Required

Pertinent information about the error

404 Not Found

error object ErrorDetail Required

Pertinent information about the error

429 Too Many Requests

error object ErrorDetail Required

Pertinent information about the error

500 Internal Server Error

error object ErrorDetail Required

Pertinent information about the error