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
code string Required
The error code.
detail string Required
The error message.
extraDetail map from strings to any Optional
Extra information regarding this error.
[any key] any
ref string Required
A reference to the request that caused the error.
status integer Required
The HTTP status code
401 Unauthorized
error object ErrorDetail Required
Pertinent information about the error
- code string Required
- detail string Required
- extraDetail map from strings to any Optional
- ref string Required
- status integer Required
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