v1
latestOpenAPI 3.0.02026-08-0451027.5 KBreload-tasks
Update an existing task
Updates an existing task
put/api/v1/reload-tasks/{taskId}
Path parameters
taskIdstring required
The unique identifier of the task.
Headers
Authorizationstring required
JWT containing tenant credentials.
Request body
Example request
{
"appId": "116dbfae-7fb9-4983-8e23-5ccd8c508722",
"timeZone": "America/Toronto",
"recurrence": [
"RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=11;BYMINUTE=18;BYSECOND=0",
"RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,TU;BYHOUR=13;BYMINUTE=17;BYSECOND=0"
],
"endDateTime": "2022-10-12T23:59:00",
"startDateTime": "2022-09-19T11:18:00",
"state": "Disabled"
}Response
Expected response to a valid request.
Example response
{
"appId": "116dbfae-7fb9-4983-8e23-5ccd8c508722",
"timeZone": "America/Toronto",
"recurrence": [
"RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=11;BYMINUTE=18;BYSECOND=0",
"RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,TU;BYHOUR=13;BYMINUTE=17;BYSECOND=0"
],
"endDateTime": "2022-10-12T23:59:00",
"startDateTime": "2022-09-19T11:18:00",
"id": "5be59decca62aa00097268a4",
"log": "Scheduled reload has been disabled since exceeded limit of 5 consecutive reload failures. Please fix error and re-enable schedule.",
"links": {
"self": {
"href": "http://example.com"
}
},
"state": "Enabled",
"userId": "FyPG6xWp6prDU6BXQ3g7LY9gWR_YRkkx",
"spaceId": "602c2c2be2be220002a22a22",
"tenantId": "efSCcpNYuayTysONkUcE3F80zYQ_LV9w",
"fortressId": "5c5b097116d25a0001a48b06",
"disabledCode": "CONSECUTIVE-FAILURES",
"lastExecutionTime": "2022-09-20T17:17:00Z",
"nextExecutionTime": "2022-09-20T17:17:00Z"
}