Examples

PUT /api/environments/production
{
  "environment": {}
}
200
{
  "environment": {
    "name": "production",
    "id": 334344675
  }
}

Params

Param name Description
id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
environment
required

Value: Must be a Hash
environment[name]
optional

Value: Must be String