Close a chat
Closes an active chat
Try this request in your browser
URL
https://api.natterly.com/api/v1/chats_for_sessions/close
Access
Must be authenticated as a session
If not authorised, a MustBeAuthenticatedAsSession error will be returned.
Parameters
| Parameter | Type | Default |
|---|---|---|
|
chat Required The UUID of the chat |
String | null |
Errors
| Error | Attributes |
|---|---|
|
ChatNotFound No chat found with given UUID |
|
|
ChatNotCloseable The given chat cannot be closed |
Response Data
This action will return a Boolean.