Skip to main content
PUT
/
schedule
/
{scheduleId}
Update Schedule
curl --request PUT \
  --url https://api.d1g.qzz.io/api/v1/schedule/{scheduleId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "scheduledPublishTime": "2023-11-07T05:31:56Z",
  "status": "pending"
}
'
{
  "success": true,
  "data": {
    "scheduleId": "123e4567-e89b-12d3-a456-426614174000",
    "scheduledTime": "2025-01-25T14:30:00.000Z",
    "status": "pending",
    "createdAt": "2025-01-21T14:30:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Use JWT token (from Supabase auth) or API key (format: sk_live_...)

Path Parameters

scheduleId
string<uuid>
required

Body

application/json
scheduledPublishTime
string<date-time>
status
enum<string>
Available options:
pending,
cancelled

Response

200 - application/json

Schedule updated

success
boolean
Example:

true

data
object