enterprise-admin
Delete a pre-receive environment
If you attempt to delete an environment that cannot be deleted, you will receive a 422 Unprocessable Entity response.
The possible error messages are:
- Cannot modify or delete the default environment
- Cannot delete environment that has hooks
- Cannot delete environment when download is in progress
delete/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.
Response
Response
Changes
No recorded changes to this operation across all 50 revisions of this API.