Hanzo
OpenapiFlags

Removes one flag definition by key and records the deletion in the change log.

Removes one flag definition by key and records the deletion in the change log.

DELETE /v1/flags/defs/{key}

Addresshttps://api.hanzo.ai/v1/flags/defs/{key}
MethodDELETE
Operationdelete_flags_defs_by_key
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one flag definition by key and records the deletion in the change log. A key the caller's store does not hold is a 404.

Request

1 field.

FieldInTypeRequiredDescription
keypathstringyesKey is the flag key to act on, from the path.

Response

StatusBodyMeaning
200deletedOutok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodystringDeleted is the key that no longer exists.

Failure carries the platform error shape — see Errors.

Examples

hanzo flags defs rm <key>

Flags API · All Hanzo APIs · Interactive reference

How is this guide?

On this page