Updates an environment by name
PUT/api/admin/environments/update/:name
Given an environment by name updates the environment with the given payload. Note that name
, enabled
and protected
cannot be changed by this API
Request
Responses
- 200
- 400
- 401
environmentSchema
The request data does not match what we expect.
Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.