Skip to main content
PATCH
/
v1
/
game
/
schedules
/
{serverId}
/
{scheduleId}
Update schedule
curl --request PATCH \
  --url https://api.waterfall.host/v1/game/schedules/{serverId}/{scheduleId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "minute": "<string>",
  "hour": "<string>",
  "day_of_week": "<string>",
  "day_of_month": "<string>",
  "month": "<string>",
  "is_active": true,
  "only_when_online": true
}
'

Authorizations

Authorization
string
header
required

API key generated from your Waterfall dashboard

Path Parameters

serverId
string
required
scheduleId
string
required

Body

application/json
name
string
minute
string
hour
string
day_of_week
string
day_of_month
string
month
string
is_active
boolean
only_when_online
boolean

Response

200

Schedule updated