Set the maintenance window updates wait for
POST
/v1/organisations/{id}/environments/{envId}/maintenanceOperation environments.maintenance · since 2026-11-05 · stable
Needs a session withwritescopeAnswers200 OK
Path parameters
- idstring (uuid)required
- The organisation id.
- envIdstring (uuid)required
- The environment id.
Body (JSON)
- window{ days, start, hours } or nullrequired
- days 0 (Sunday) to 6, start as HH:MM, hours 1 to 12; null for none. Required, even when null.
Errors
Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.
POST/v1/organisations/{id}/environments/{envId}/maintenance
curl -X POST "https://api.rykloud.com/v1/organisations/$ORG_ID/environments/$ENV_ID/maintenance" \
-H "Authorization: Bearer $RYKLOUD_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"window": {
"days": [
6
],
"start": "02:00",
"hours": 4
}
}'