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}

Request

  • Base URL: http://HOSTNAME/api/v3
  • URL: http://HOSTNAME/api/v3/admin/pre-receive-environments/{pre_receive_environment_id}
  • Auth: none declared

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

Changes

No recorded changes to this operation across all 50 revisions of this API.