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

Latest commit

 

History

History
37 lines (26 loc) · 1.15 KB

File metadata and controls

37 lines (26 loc) · 1.15 KB

Remove Department

HTTP MethodURLRequires Auth
DELETE/api/v1/livechat/department/:_idyes

{% hint style="info" %} Permissions required:

  • manage-livechat-departments
  • remove-livechat-department {% endhint %}

Path Variables

KeyExample ValueDescription
_id*iTfLCX3qqwKgf5uqgThe 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