api:pbx:recording:deleteall
Table of Contents
API : PBX : Recording Delete All
Introduction
This request will delete all recordings that belongs to the employee or common recordings.
Request
| 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. | |
Response
| JSON object | ||
|---|---|---|
| success | Boolean | true on success. |
Example
{ success: true }
Errors
| 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> |
api/pbx/recording/deleteall.txt · Last modified: 2024/11/27 13:05 by Joakim Andersen