Hanzo
OpenapiGit

Removes one Slack subscription from a repo; the notifier stops posting that…

Removes one Slack subscription from a repo; the notifier stops posting that repo's events to that channel. Answers 204 with no body.

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

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

Removes one Slack subscription from a repo; the notifier stops posting that repo's events to that channel. Answers 204 with no body. An id that is not this repo's subscription is not found.

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 subscriptions rm <name> <id>

Git API · All Hanzo APIs · Interactive reference

How is this guide?

On this page