Updates an existing environment by ID. Supports updating name, description, type, and logical environment association.
Bearer token for authentication
ID is the unique identifier of the environment to update
ENVIRONMENT_TYPE_UNSPECIFIED, ENVIRONMENT_TYPE_KUBERNETES, ENVIRONMENT_TYPE_ECS, ENVIRONMENT_TYPE_SERVER, ENVIRONMENT_TYPE_LAMBDA, ENVIRONMENT_TYPE_CUSTOM A successful response.
{
"updated_at": "2000-01-23T04:56:07.000Z",
"organization_id": "organization_id",
"name": "name",
"description": "description",
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id",
"logical_environment": {
"updated_at": "2000-01-23T04:56:07.000Z",
"organization_id": "organization_id",
"name": "name",
"description": "description",
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id"
},
"type": "ENVIRONMENT_TYPE_UNSPECIFIED"
}