v2
Reschedule execution
PATCH
/
executions
/
{execution-id}
/
schedule
Authorization
Path
Body
curl --request PATCH \
--url https://api.defer.run/public/v2/executions/{execution-id}/schedule \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"schedule_for": true
}'
{
"data": {
"id": "AAYR1m5T-trJR95j1BaiC_36IdTTLw",
"state": "created",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
execution-id
string
requiredThe execution ID
Body
application/json
schedule_for
boolean
Response
200 - application/json
data
object
Was this page helpful?
curl --request PATCH \
--url https://api.defer.run/public/v2/executions/{execution-id}/schedule \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"schedule_for": true
}'
{
"data": {
"id": "AAYR1m5T-trJR95j1BaiC_36IdTTLw",
"state": "created",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}