/api/v2/bpm/users/{user_id}/tokens/inactive
Метод возвращает все валидные токены выданные пользователю
В данное время функционал не используется
Path Parameters
- user_id integer required
ID пользователя BPMS
Example: 117
Responses
- 200
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": [
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4Njg2MTQxNCwiaWF0IjoxNjg2Nzc1MDE0LCJqdGkiOiIwODgzNzA3MDA0ODc0MDk3YTMxYTc2MzQ1ZDNkYmI1YiIsImlkX3VzZXIiOjExOH0.t3EtCQC9pR5-Sjjy1lawm6AiSi2sZej8J8rHZBqwn-w"
},
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4Njg2MTc1MSwiaWF0IjoxNjg2Nzc1MzUxLCJqdGkiOiIyNDY4ZWExYWM2NWY0YTU0YWZiNDQxNjI4Mzg0NDc1NSIsImlkX3VzZXIiOjExOH0.u9ifcLEymsj_YWqK4hipPXN98IdgyW3PJ3aYmXtjD00"
},
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4Njg2MTg2OSwiaWF0IjoxNjg2Nzc1NDY5LCJqdGkiOiI4MmRiMjRhZGY2ZGI0NmQ3YjI1YjM5N2E1ODY4ODhiNiIsImlkX3VzZXIiOjExOH0.eR28tfTfLdG3xvq-398CNpWny4NuSemZqVrRVOsh3X8"
}
]
}
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."
},
"preparingsTime": 0.005
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "User not found",
"response": {}
}
Loading...