Remove Department

HTTP MethodURLRequires Auth

DELETE

/api/v1/livechat/department/:_id

Permissions required:

  • manage-livechat-departments

  • remove-livechat-department

Path Variables

KeyExample ValueDescription

_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

VersionDescription

0.42.0

Added

Last updated

Rocket.Chat versions receive support for six months after release.