api:pbx:group:delete
Table of Contents
API : PBX : Group Delete
Introduction
This request will delete a group.
The group can only be deleted if no other dialplan items points to it.
Request
| URL | https://api.telecomx.dk/pbx/group/GROUP_ID | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | MANAGER or OWNER if user belongs to the customer who owns it. RESELLER if customer belongs to the reseller. ADMIN. |
||
| params | GROUP_ID | Id of the group to delete. | |
Response
| JSON object | ||
|---|---|---|
| success | Boolean | true on success. |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 400 | bad_request | Id not found in request URI |
| 404 | not_found | Group not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/group/delete.txt · Last modified: 2018/09/06 09:13 by Per Møller