Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 880 Bytes

File metadata and controls

38 lines (28 loc) · 880 Bytes
description
Removes a department

Remove a department

URL Requires Auth HTTP Method
/api/v1/livechat/department/:_id yes DELETE

Payload

Argument Example Required Description
_id iTfLCX3qqwKgf5uqg Required The department _id.

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 Result

{
  "success": true
}

Change Log

Version Description
0.42.0 Added