latestOpenAPI 3.0.22026-07-144652931.4 MB

b679a8f3f02c

Users

List audit records for a user

The response will include audit records with changes that are made to the identified user not changes made by the identified user.

The returned records are sorted by the execution_time from newest to oldest.

See Cursor-based pagination for instructions on how to paginate through the result set.

For more information see the Audit API Document.

Scoped OAuth requires: audit_records.read

get/users/{id}/audit/records

Path parameters

idstring required

The ID of the resource.

Query parameters

limitinteger

The minimum of the limit parameter used in the request or the maximum request size of the API.

cursorstring

Optional parameter used to request the "next" set of results from an API. The value provided here is most commonly obtained from the next_cursor field of the previous request. When no value is provided, the request starts at the beginning of the result set.

sincestring date-time

The start of the date range over which you want to search. If not specified, defaults to now() - 24 hours (past 24 hours)

untilstring date-time

The end of the date range over which you want to search. If not specified, defaults to now(). May not be more than 31 days after since.

Headers

Acceptstring required

The Accept header is used as a versioning header.

Content-Type'application/json' required

Response

Records matching the query criteria.

recordsAuditRecord[] required— unresolved $ref
limitinteger required

The minimum of the limit parameter used in the request or the maximum request size of the API.

next_cursorstring nullable required

An opaque string than will deliver the next set of results when provided as the cursor parameter in a subsequent request. A null value for this field indicates that there are no additional results.