Hanzo
OpenapiSync

Delete removes one sync and tears down the outbound mirror it derived,…

Delete removes one sync and tears down the outbound mirror it derived, answering 204.

DELETE /v1/sync/{id}

Addresshttps://api.hanzo.ai/v1/sync/{id}
MethodDELETE
Operationdelete_sync_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Delete removes one sync and tears down the outbound mirror it derived, answering 204. The teardown is the point: without it an unsynced repository would keep force-pushing to the upstream it is no longer linked to. Org-scoped, so another tenant's id is the same 404 an unknown id gives.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the sync to act on, from the path.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo sync rm <id>

Sync API · All Hanzo APIs · Interactive reference

How is this guide?

On this page