Re-queues a failed run.
The failed record is removed either way.
| URL | https://api.telecomx.dk/tools/scheduledjobs/failed/:id/restart | ||
|---|---|---|---|
| Method | POST | ||
| Access level | Admin | ||
https://api.telecomx.dk/tools/scheduledjobs/failed/69e9f5ab8eaa9013e910b302/restart
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 400 | invalid_data | The id is not a valid ObjectId |
| 403 | access_denied | Insufficient access level |
| 404 | not_found | No run record has that id, or the recurring job it belongs to no longer exists |
| 500 | internal_error | <Unspecified> |