Hanzo
OpenapiFunctions

Removes one of the caller org's functions and answers 204.

Removes one of the caller org's functions and answers 204.

DELETE /v1/functions/{name}

Addresshttps://api.hanzo.ai/v1/functions/{name}
MethodDELETE
Operationdelete_functions_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one of the caller org's functions and answers 204.

A name this org does not hold is 404 — never a silent success — and a name belonging to another tenant is the same 404, because the delete is predicated on the validated org.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyesName is the function the URL names.

Response

StatusBodyMeaning
204noneno content

204 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyobjectyes

Failure carries the platform error shape — see Errors.

Examples

hanzo functions rm <name>

Functions API · All Hanzo APIs · Interactive reference

How is this guide?

On this page