api:tools:scheduledjobs:delete
Table of Contents
API : Tools: Scheduled jobs : Delete
Introduction
Deletes a pending job. A recurring job is stopped permanently; use Enabled to pause it instead.
Deleting a SIP trunk deletion (what = DELETE_SIP_ACCOUNT) also clears the trunk's deleteDate, so the trunk no longer shows a scheduled deletion.
Request
| URL | https://api.telecomx.dk/tools/scheduledjobs/:id | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | Admin | ||
Query example
https://api.telecomx.dk/tools/scheduledjobs/6a2a6b21db0276bd0a548391
Response
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 400 | invalid_data | The id is not a valid ObjectId |
| 403 | access_denied | Insufficient access level |
| 404 | not_found | No job has that id |
| 500 | internal_error | <Unspecified> |
api/tools/scheduledjobs/delete.txt · Last modified: by Telecom X AI
