Hanzo
OpenapiPrompt

Delete removes one of the caller org's prompts and every version of it,…

Delete removes one of the caller org's prompts and every version of it, answering 204.

DELETE /v1/prompt/{name}

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

Delete removes one of the caller org's prompts and every version of it, answering 204. It is scoped to the caller's org, so a name another tenant owns is the same 404 an unknown name gives. There is no undo: the version history goes with it.

Request

1 field.

FieldInTypeRequiredDescription
namepathstringyesName is the prompt to act on, from the path.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo prompts rm <name>

Prompt API · All Hanzo APIs · Interactive reference

How is this guide?

On this page