Hanzo
OpenapiCloudflare

Removes a Worker script from the org's Cloudflare account.

Removes a Worker script from the org's Cloudflare account.

DELETE /v1/cloudflare/workers/scripts/{script}

Addresshttps://api.hanzo.ai/v1/cloudflare/workers/scripts/{script}
MethodDELETE
Operationdelete_cloudflare_workers_scripts_by_script
AuthAuthorization: Bearer $HANZO_API_KEY

Removes a Worker script from the org's Cloudflare account. Requires org admin. Routes bound to the script stop serving it.

Request

1 field.

FieldInTypeRequiredDescription
scriptpathstringyesScript is the Worker script name.

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo cloudflare workers scripts rm <script>

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page