Hanzo AI
OpenapiReference

Delete reference

Removes one of your organisation's overrides.

DELETE /v1/reference/{set}

Addresshttps://api.hanzo.ai/v1/reference/{set}
MethodDELETE
OperationriskClearReference
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one of your organisation's overrides.

It removes an entry your organisation wrote, never a baseline member: the published set is not writable from here, so a removal can only ever restore the baseline's own answer.

Request

2 fields.

FieldInTypeRequiredDescription
setpathstringyes
keyquerystring

Response

StatusBodyMeaning
200ClearReferenceOutok

200 body — 4 fields.

FieldInTypeAlwaysDescription
clearedbodybooleanCleared is false when your org held no such override — which is not an error, it is the honest answer to a removal that had nothing to remove.
keybodystringKey is the entry named.
overridesbodyintegerOverrides is how many your org still holds in this set.
setbodystringSet is the set cleared in.

Failure carries the platform error shape — see Errors.

Examples

hanzo reference rm <set>

Reference API · All Hanzo APIs · Interactive reference

How is this guide?

On this page