Deleting a session
Deleting a session. This will log out the corresponding device
POST/api/v1/sessions/{token}Headers | |||||||||
Authorization | Bearer token | ||||||||
Accept | application/json | ||||||||
X-Client | ios-cctv|android-cctv|thick-legal|web | ||||||||
X-UUID | unique device id |
Body | |||||||||
tokenoptional | int | The identifier of the session to be deleted |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
401 | Authorization token not provided or invalid, see Obtaining a token |
Example | |||||||||
JSON
|