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}- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- pre_receive_environment_id integerrequired
Responses
Response
application/json object
Client Errors
errors array[object]optional
errors array[object]
optional items object
items object
code string
optionalmessage string
optionalresource string
optionalmessage string
optional