v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-03-2585861610.1 MB
enterprise-admin

Update a pre-receive environment

You cannot modify the default environment. If you attempt to modify the default environment, you will receive a 422 Unprocessable Entity response.

patch/admin/pre-receive-environments/{pre_receive_environment_id}

Path parameters

pre_receive_environment_idinteger required

The unique identifier of the pre-receive environment.

Request body

namestring

This pre-receive environment's new name.

image_urlstring

URL from which to download a tarball of this environment.

Response

Response

idinteger
namestring
image_urlstring
urlstring
html_urlstring
default_environmentboolean
created_atstring
hooks_countinteger