Hanzo
OpenapiIam

Removes an audit entry.

Removes an audit entry.

POST /v1/iam/audit-logs/delete

Addresshttps://api.hanzo.ai/v1/iam/audit-logs/delete
MethodPOST
Operationpost_iam_audit-logs_delete
AuthAuthorization: Bearer $HANZO_API_KEY

Removes an audit entry. Retention policy is normally what should expire a trail; deleting by hand leaves a gap a reviewer will notice.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
namebodystring
ownerbodystring

Response

StatusBodyMeaning
200iam.DeleteOutputok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam audit-logs delete

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page