Hanzo
OpenapiIntegrations

Deletes the repo's Pages site.

Deletes the repo's Pages site.

DELETE /v1/integrations/github/repos/{repo}/pages

Addresshttps://api.hanzo.ai/v1/integrations/github/repos/{repo}/pages
MethodDELETE
Operationdelete_integrations_github_repos_by_repo_pages
AuthAuthorization: Bearer $HANZO_API_KEY

Deletes the repo's Pages site. 404 when there is none, so a caller can tell "turned it off" from "there was nothing on".

Request

1 field.

FieldInTypeRequiredDescription
repopathstringyesRepo is the repository's short name within the org's installation, with no owner prefix (the owner is server-derived from the grant).

Response

StatusBodyMeaning
200githubPagesDisabledOutok

200 body — 2 fields.

FieldInTypeAlwaysDescription
disabledbodybooleanDisabled is always true — a failure is an HTTP error, never this shape.
repobodystringRepo is the repository whose site was deleted.

Failure carries the platform error shape — see Errors.

Examples

hanzo integrations github repos pages clear <repo>

Integrations API · All Hanzo APIs · Interactive reference

How is this guide?

On this page