Hanzo AI
OpenapiFunction

Delete function

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

DELETE /v1/function/{name}

Addresshttps://api.hanzo.ai/v1/function/{name}
MethodDELETE
Operationdelete_function_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
204no content
defaultproblem-detailsrefused

Failure carries the platform error shape — see Errors.

Examples

hanzo function rm <name>

Function API · All Hanzo APIs · Interactive reference

How is this guide?

On this page