Schedules

Restore schedule

Changed on

Take a schedule out of the trash. It runs on its schedule again unless it was paused or disabled by the system. A schedule whose document is in the trash cannot be restored.

post/api/v1/schedules/{scheduleId}/restore

Request

  • Base URL
    https://omniapp.co (the document declares no server; this is the origin it was published from)
  • URL
    https://omniapp.co/api/v1/schedules/{scheduleId}/restore
  • Auth
    HTTP bearer

Path parameters

scheduleIdstring uuid required

The UUID of the scheduled task. Can be found in the schedule's URL after /schedules/.

Example:123e4567-e89b-12d3-a456-426614174000

Response

Schedule restored, or it was not in the trash and is left as it was

successboolean required

Whether the operation was successful

Example response

{
  "success": true
}

Changes