POST/projects/{uuid}/environments/{environment_name_or_uuid}/envs

Create Environment Shared Env

Create a shared environment variable for a project environment (type=environment).

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters
uuidstringrequired
Project UUID
environment_name_or_uuidstringrequired
Environment name or UUID

5 status codes
201Environment variable created.
401Unauthenticated.
messagestringoptional
404Resource not found.
messagestringoptional
409Environment variable already exists.
422Validation error.
errorsobjectoptional
messagestringoptional

Error handling

A 401 is returned: Unauthenticated. A 404 is returned: Resource not found. A 409 is returned: Environment variable already exists. A 422 is returned: Validation error.