Delete a Group
DELETE/api/knowledge_base/groups/{id}
Returns 409 while articles are still attached to the group.
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
curl -X DELETE "https://yoursite.com/api/knowledge_base/groups/123" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
HTTP/1.1 200 OK
{
"status": true,
"message": "Group deleted successfully"
} Error-Response:
HTTP/1.1 409 Conflict
{
"status": false,
"message": "Group has 4 article(s); move or delete them first"
}