# Delete a Group

`DELETE /api/knowledge_base/groups/{id}`

Returns 409 while articles are still attached to the group.

- **Group:** Knowledge Base
- **Since:** v3.0.0
- **Authentication:** `authtoken` header, created under Setup > API > API Management
- **HTML version:** /apiguide/knowledge-base/delete-kb-group/

## Headers

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `authtoken` | String | **required** | Authentication token, generated from admin area |

## Example request

```bash
curl -X DELETE "https://yoursite.com/api/knowledge_base/groups/123" \
  -H "authtoken: YOUR_API_TOKEN"
```

## Success response

### Success-Response:

```json
HTTP/1.1 200 OK
{
  "status": true,
  "message": "Group deleted successfully"
}
```

## Error responses

### Error-Response:

```json
HTTP/1.1 409 Conflict
{
  "status": false,
  "message": "Group has 4 article(s); move or delete them first"
}
```

---

Perfex CRM REST API by Themesic Interactive. Full reference: /apiguide/
