Deleting a session of a user account¶
Note
Deleting a session requires the user to log in again from the device on which the session was active.
Send a DELETE request to the endpoint /user/{userId}/sessions/{id}.
Description¶
The Delete-Session request deletes a session of a user account of the organisation.
Requirements¶
Values of the request: User ID {userId}, Session ID {id}
Objects: none
Request¶
To delete a session of a user account, add the User-ID {userId} and the Session-ID {id} to the path of the request.
No further information is required.
The system only returns a 200 HTTP code in response to the successful request.
Responses¶
The following responses are available:
| STATUS CODE | DESCRIPTION |
|---|---|
| 204 | The request has succeeded and the element was successfully deleted. |
| 400 | The request was unsuccessful. The request was invalid or information is missing. |
| 401 | The request has not succeeded because the user authentication was incorrect. |
| 403 | The request has not succeeded because the user does not have the right permissions. |