Immediately invalidates the token used in the Authorization header. Subsequent requests with the same token will receive 401.
DELETE
/auth/tokens/current
curl \
--request DELETE 'https://sampleplatform.ccextractor.org/api/v1/auth/tokens/current' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
"code": "unauthorized",
"message": "Bearer token is missing, expired, or invalid.",
"details": {}
}
Response examples (429)
{
"code": "rate_limited",
"message": "Rate limit exceeded. Retry after 30 seconds.",
"details": {
"retry_after": 30,
"limit": 120,
"window": "60s"
}
}
Response examples (default)
{
"code": "not_found",
"message": "Run 9317 not found.",
"details": {}
}