{ "operationId": "enterprise-admin/update-pre-receive-environment", "method": "PATCH", "path": "/admin/pre-receive-environments/{pre_receive_environment_id}", "summary": "APIs.io Engineering Platform Update a pre-receive environment", "requestExamples": [ { "contentType": "application/json", "name": "default", "example": { "name": "DevTools Hook Env", "image_url": "https://my_file_server/path/to/devtools_env.tar.gz" } } ], "responseExamples": [ { "status": "422", "contentType": "application/json", "name": "client-errors", "example": { "message": "Validation Failed", "errors": [ { "resource": "PreReceiveEnvironment", "code": "custom", "message": "Cannot modify or delete the default environment" } ] } } ] }