Hanzo
OpenapiGit

Removes a registered SSH key, scoped to the caller's org: an org can only…

Removes a registered SSH key, scoped to the caller's org: an org can only delete its own, and a key id it does not own is not found.

DELETE /v1/git/keys/{id}

Addresshttps://api.hanzo.ai/v1/git/keys/{id}
MethodDELETE
Operationdelete_git_keys_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes a registered SSH key, scoped to the caller's org: an org can only delete its own, and a key id it does not own is not found. Answers 204 with no body. Once removed the key no longer authenticates any SSH git access.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the key's identifier ("gitkey_…"), from the :id path segment.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo git keys rm <id>

Git API · All Hanzo APIs · Interactive reference

How is this guide?

On this page