Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
30 lines (20 loc) · 1.31 KB

File metadata and controls

30 lines (20 loc) · 1.31 KB

Remove Agent or Manager

Remove a user as an agent or a manager.

HTTP MethodURLRequires Auth
DELETE/api/v1/livechat/users/:type/:_idyes

Path Variables

KeyExample ValueDescription
type *agentThe type of user. The value can either be agent or manager.
_id *SQafHvoFPuB57NmBDThe user _id.

Example Call

curl --location 'http://localhost.com/api/v1/livechat/users/agent/PSaBmpB2c9eFaE79q' \
--header 'X-Auth-Token: Y97tM4GkYjgaH_fIO5dwBitQQvm3yp-AptYzGQZMX6e' \
--header 'X-User-Id: CkCPNcvsvCDfmWLqC' \
--data ''

Example Response

{
  "success": true
}

Change Log

VersionDescription
0.42.0Added