Skip to the page

Approve a change (owner, or a second maintainer in production)

POST/v1/organisations/{id}/environments/{envId}/changes/{cid}/approve

Operation changes.approve · since 2026-11-05 · stable

Needs a session withwritescopeAnswers200 OK

Path parameters

idstring (uuid)required
The organisation id.
envIdstring (uuid)required
The environment id.
cidstring (uuid)required
The change waiting for approval.

Body (JSON)

monthlynumberoptional
The monthly price you approve, when the change raises it.

Errors

Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer, this one refuses with:

  • wrong_state
  • own_change
  • not_allowed
POST/v1/organisations/{id}/environments/{envId}/changes/{cid}/approve
curl -X POST "https://api.rykloud.com/v1/organisations/$ORG_ID/environments/$ENV_ID/changes/$CHANGE_ID/approve" \
  -H "Authorization: Bearer $RYKLOUD_TOKEN"
With the rykloud CLI
rykloud changes approve CHANGE [flags]

Command reference: rykloud changes approve