v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

Rename

Environment

put/v3/environments/environment

Query parameters

projectstring required

The project's name

environmentstring required

The environment's slug

Request body

namestring

Desired name

slugstring

Desired slug

personal_configsboolean

Whether or not to enable personal configs for the environment

Response

200

Example response

{
  "environment": {
    "id": "dev",
    "name": "Development",
    "initial_fetch_at": "2019-11-21T03:45:47.982Z",
    "created_at": "2019-11-19T07:19:00.476Z",
    "project": "ed0c2a68b6"
  }
}