HTTP Method | URL | Requires Auth |
---|---|---|
DELETE | /api/v1/livechat/department/:_id | yes |
{% hint style="info" %} Permissions required:
manage-livechat-departments
remove-livechat-department
{% endhint %}
Key | Example Value | Description |
---|---|---|
_id * | iTfLCX3qqwKgf5uqg | The department ID that you want to remove. |
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
-X DELETE \
http://localhost:3000/api/v1/livechat/department/iTfLCX3qqwKgf5uqg
{
"success": true
}
Version | Description |
---|---|
0.42.0 | Added |