cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/schedules \ --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>" ]
Store a new schedule for a server.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The server UUID
The response is of type any[].
any[]