Hanzo
OpenapiGit

Removes one outbound mirror target; later pushes stop being forwarded to it.

Removes one outbound mirror target; later pushes stop being forwarded to it. Answers 204 with no body.

DELETE /v1/git/repos/{name}/mirrors/{id}

Addresshttps://api.hanzo.ai/v1/git/repos/{name}/mirrors/{id}
MethodDELETE
Operationdelete_git_repos_by_name_mirrors_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one outbound mirror target; later pushes stop being forwarded to it. Answers 204 with no body. Nothing is done to the downstream remote itself — only this repo's intent to push there is dropped.

Request

2 fields.

FieldInTypeRequiredDescription
namepathstringyesName is the repo, from the :name path segment.
idpathstringyesID is the row to remove, from the :id path segment.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo git repos mirrors rm <name> <id>

Git API · All Hanzo APIs · Interactive reference

How is this guide?

On this page