Hanzo
OpenapiAgents

Removes an agent and every run recorded against it.

Removes an agent and every run recorded against it.

DELETE /v1/agents/{ref}

Addresshttps://api.hanzo.ai/v1/agents/{ref}
MethodDELETE
Operationdelete_agents_by_ref
AuthAuthorization: Bearer $HANZO_API_KEY

Removes an agent and every run recorded against it. Answers 204.

Request

1 field.

FieldInTypeRequiredDescription
refpathstringyesRef is the agent's public id (the agent_… handle create and list return) or its org-unique name, from the path.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo agents rm <ref>

Agents API · All Hanzo APIs · Interactive reference

How is this guide?

On this page