Skip to content
Coritan Docs

Organization API: Organization deployments: Env groups

The 3 Organization API operations for env groups.

View as Markdown

Part of Organization deployments.

List linked environment groups

Section titled List linked environment groups

GET /api/v1/orgs/{org_slug}/deployments/{deployment_uuid}/env-groups

The env groups linked to a deployment, in the order they were linked, which is the order they win in.

Name In Type Required
deployment_uuid path string (uuid) yes
org_slug path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

POST /api/v1/orgs/{org_slug}/deployments/{deployment_uuid}/env-groups

Link one of the owner's env groups. Its values rank below the deployment's own and reach it with its next release.

Name In Type Required
deployment_uuid path string (uuid) yes
org_slug path string yes

application/json (required)

Field Type Required
group string (uuid) yes
Status Meaning
201 Success.
422 The request is not valid. detail lists each problem.

DELETE /api/v1/orgs/{org_slug}/deployments/{deployment_uuid}/env-groups/{group_uuid}

Unlink an env group; a group that is not linked answers 404.

Name In Type Required
deployment_uuid path string (uuid) yes
group_uuid path string (uuid) yes
org_slug path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.