PUT (Leave Chat)

This API enables the chat customer to end an ongoing chat. Invoking this API removes the customer from the chat room and as a result, the chat agent is left alone in the chat room. However, the client session between the customer's browser and the Customer Collaboration Platform server continues to be active until the configured inactivity timeout is reached. This enables the customer to download a transcript for the chat using the transcript API before all session times out.

URL:

https://<ServerIP>:<Port>/ccp/rest/chat/leaveChat

HTTPS method:

PUT

HTTPS response headers:

200 OK

400 Bad Request

For more information about the response codes, see HTTPS Responses.