Skip to main content
PATCH
/
v1
/
game
/
schedules
/
{serverId}
/
{scheduleId}
/
tasks
/
{taskId}
Update schedule task
curl --request PATCH \
  --url https://api.waterfall.host/v1/game/schedules/{serverId}/{scheduleId}/tasks/{taskId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "command",
  "payload": "<string>",
  "time_offset": 123,
  "continue_on_failure": true
}
'

Authorizations

Authorization
string
header
required

API key generated from your Waterfall dashboard

Path Parameters

serverId
string
required
scheduleId
string
required
taskId
string
required

Body

application/json
action
enum<string>
Available options:
command,
power,
backup
payload
string
time_offset
integer
continue_on_failure
boolean

Response

200

Task updated