Hanzo
OpenapiGit

Removes a repo's metadata and purges its storage.

Removes a repo's metadata and purges its storage. Answers 204 with no body.

DELETE /v1/git/repos/{name}

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

Removes a repo's metadata and purges its storage. Answers 204 with no body. The metadata row is the source of truth for existence, so a storage purge that fails is logged and the delete still succeeds — and a second call is a 404, not a second delete.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyesName is the repo's org-unique handle, from the :name path segment.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo git repos rm <name>

Git API · All Hanzo APIs · Interactive reference

How is this guide?

On this page