/api/v2/bpm/users/{user_id}/tokens/inactive
Метод проверяет refresh token пользователя на не валидность
В данное время функционал не используется
Path Parameters
- user_id integer required
ID пользователя BPMS
Example: 117
- application/json
Request Body
- object
Responses
- 200
- 400
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "Token is inactive",
"response": {}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "This user doesn't have this token",
"response": {}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
}
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "User not found",
"response": {}
}
Loading...