v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Environment

Update Environment

Update an environment.

put/api/v1/management/environment/{env_id}

Path parameters

env_idstring required

The Environment's ID.

Example:org_1srOrx2ZWZBpBUvZwXKQmoEYga2

The Environment's ID.

Request body

namestring required

Environment name for human consumption.

Example request

{
  "name": "My environment"
}

Response

idstring required

The Environment's ID.

createdAtstring date-time required
updatedAtstring date-time required
region'eu' | 'us' | 'au' | 'ca' | 'self-hosted' required
namestring required
type'development' | 'production' required

Example response

{
  "id": "org_1srOrx2ZWZBpBUvZwXKQmoEYga2"
}