Hanzo
OpenapiIam

Records an audit entry, so activity from your own systems lands in the same…

Records an audit entry, so activity from your own systems lands in the same trail as everything the Hanzo Cloud records for you.

POST /v1/iam/audit-logs

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

Records an audit entry, so activity from your own systems lands in the same trail as everything the Hanzo Cloud records for you.

Request

14 fields, body application/json (required).

FieldInTypeRequiredDescription
actionbodystring
clientIpbodystring
createdTimebodystring
isTriggeredbodyboolean
languagebodystring
methodbodystring
namebodystring
objectbodystring
organizationbodystring
ownerbodystring
requestUribodystring
responsebodystring
statusCodebodyinteger
userbodystring

Response

StatusBodyMeaning
200iam.AuditLogok

200 body — 18 fields.

FieldInTypeAlwaysDescription
actionbodystring
clientIpbodystring
createdAtbodystring (date-time)
createdTimebodystring
deletedbodyboolean
idbodystring
isTriggeredbodyboolean
languagebodystring
methodbodystring
namebodystring
objectbodystring
organizationbodystring
ownerbodystring
requestUribodystring
responsebodystring
statusCodebodyinteger
updatedAtbodystring (date-time)
userbodystring

Failure carries the platform error shape — see Errors.

Examples

hanzo iam audit-logs create

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page