Links

Remove Department

HTTP Method
URL
Requires Auth
DELETE
/api/v1/livechat/department/:_id
yes
Permissions required:
  • manage-livechat-departments
  • remove-livechat-department

Path Variables

Key
Example Value
Description
_id*
iTfLCX3qqwKgf5uqg
The department ID that you want to remove.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
-X DELETE \
http://localhost:3000/api/v1/livechat/department/iTfLCX3qqwKgf5uqg

Example Response

{
"success": true
}

Change Log

Version
Description
0.42.0
Added
Last modified 3mo ago
Rocket.Chat versions receive support for six months after release.