Move an environment to another project or stage
PATCH
/v1/organisations/{id}/environments/{envId}Operation environments.move · 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)
Fields not listed here are refused.
- projectIdstring (uuid)optional
- The project to move it to.
- stagestringoptional
- "production", "staging", "development" or "preview".
Errors
Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.
PATCH/v1/organisations/{id}/environments/{envId}
curl -X PATCH "https://api.rykloud.com/v1/organisations/$ORG_ID/environments/$ENV_ID" \
-H "Authorization: Bearer $RYKLOUD_TOKEN"