cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/schedules/{schedule}/tasks/{task} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "action": "command", "payload": "<string>", "time_offset": 450, "sequence_id": 2, "continue_on_failure": true }'
[ "<any>" ]
Updates a given task for a server.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The server UUID
The schedule ID
The task ID
The response is of type any[].
any[]