cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/schedules/{schedule} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "is_active": true, "only_when_online": true, "minute": "<string>", "hour": "<string>", "day_of_month": "<string>", "month": "<string>", "day_of_week": "<string>" }'
[ "<any>" ]
Updates a given schedule with the new data provided.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The server UUID
The schedule ID
The response is of type any[].
any[]