Menu
Update Schedule
Update schedule
PATCH
/schedules/{projectId}/{dataset}/{scheduleId}Use it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Update Schedule action (under Scheduling).
- Fill in the fields below, then reference the result from later steps as
{{updateSchedule.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"description": "string",
"documents": [
{
"documentId": "f28fe6ce-0454-42c2-8a9a-c469fbf79281",
"ifRevisionId": "string"
}
],
"executeAt": "2077-01-01T12:00:00.000Z",
"name": "string",
"state": "cancelled"
}
Response
Returns 200 with a any. Read it in later steps with {{updateSchedule.response.data.<field>}}.
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?