Skip to main content
POST
/
v2
/
schedules
/
{scheduleId}
/
pause
Pause a Schedule
curl --request POST \
  --url https://qstash.upstash.io/v2/schedules/{scheduleId}/pause \
  --header 'Authorization: Bearer <token>'
When a schedule is paused, the cron trigger will simply be ignored. If the schedule is already paused, this action has no effect.

Authorizations

Authorization
string
header
required

QStash authentication token

Path Parameters

scheduleId
string
required

The ID of the schedule to pause.

Response

200

Schedule paused successfully