This request will delete all recordings that belongs to the employee or common recordings.
| URL | https://api.telecomx.dk/pbx/recording | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | PERSONAL or VIEWER - only personal recordings MANAGER, OWNER, RESELLER or ADMIN. |
||
| Query | common | Boolean | True to delete common recordings instead of personal. |
| customer | ObjectId | Which customer to delete recordings for, if common = true. Not used when just deleting personal recordings. | |
| JSON object | ||
|---|---|---|
| success | Boolean | true on success. |
{ success: true }
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 403 | common | Minimum manager is required to delete common recordings |
| 404 | customer | Customer not found |
| 500 | internal_error | <Unspecified> |