Authentication
Отозвать токен
Отозвать конкретный персональный токен доступа по ID.
Авторизация
bearerAuth АвторизацияBearer <token>
Персональный токен доступа, полученный через POST /v1/auth/token
В: header
Path параметры
id*integer
Тело ответа
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": [
{}
]
}
}