This request will delete the specified variable.
| URL | https://api.telecomx.dk/pbx/variable/VARIABLE_NAME | |
|---|---|---|
| Method | DELETE | |
| Access level | PERSONA, VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN, ADMIN. | |
| Param | VARIABLE_NAME | Name of the variable. Prefix with: SHARED: for shared variable. Prefix with <employee-id>: for personal variable. |
| Query | customer | [optional] Customer to delete variable on. Defaults to users own customer. |
DELETE https://api.telecomx.dk/pbx/variable/onduty DELETE https://api.telecomx.dk/pbx/variable/ondutycustomer=12345678901234567890ABCD
| Property | Type | Description |
|---|---|---|
| success | Boolean | True on success |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 404 | name | Variable not found |
| 404 | customer | Customer not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |