Hanzo
OpenapiCloudflare

Unbinds a Worker route, so its pattern stops dispatching to a script.

Unbinds a Worker route, so its pattern stops dispatching to a script.

DELETE /v1/cloudflare/workers/zones/{zone}/routes/{route}

Addresshttps://api.hanzo.ai/v1/cloudflare/workers/zones/{zone}/routes/{route}
MethodDELETE
Operationdelete_cloudflare_workers_zones_by_zone_routes_by_route
AuthAuthorization: Bearer $HANZO_API_KEY

Unbinds a Worker route, so its pattern stops dispatching to a script. Requires org admin.

Request

2 fields.

FieldInTypeRequiredDescription
zonepathstringyesZone is the 32-hex Cloudflare zone id.
routepathstringyesRoute is the 32-hex Cloudflare route id.

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo cloudflare workers zones routes rm <zone> <route>

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page