Leave Session

LeaveSession allows a user to leave an active session.

Use this method to indicate that a user has left the session and will no longer participate in the conversation.

Request: LeaveSessionRequest (specify session name and username) Response: LeaveSessionResponse (indicates success and session state)

HTTP: POST /v1/conversation/sessions/{name}/leave

Path parameters

sessionstringRequired
The session id.

Request

This endpoint expects an object.
namestringRequired
name of the user leaving the session.
sessionstringRequired
Session is the session object to join.

Response

OK
sessionobject
Session is the session object that the user has left.

Errors

400
Bad Request Error