Skip to content
Coritan Docs

Client API: Deployments: Env groups

The 3 Client API operations for env groups.

View as Markdown

Part of Deployments.

Method Path Summary
GET /api/v1/client/deployments/{deployment_uuid}/env-groups List linked environment groups
POST /api/v1/client/deployments/{deployment_uuid}/env-groups Link an environment group
DELETE /api/v1/client/deployments/{deployment_uuid}/env-groups/{group_uuid} Unlink an environment group

List linked environment groups

Section titled List linked environment groups

GET /api/v1/client/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.

Authentication: an access token, sent as Authorization: Bearer <token>.

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

POST /api/v1/client/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.

Authentication: an access token, sent as Authorization: Bearer <token>.

Name In Type Required
deployment_uuid path string (uuid) 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/client/deployments/{deployment_uuid}/env-groups/{group_uuid}

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

Authentication: an access token, sent as Authorization: Bearer <token>.

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