Teams

Download the audit log as CSV or JSON (audit:read; same filters as the list; default 10 000 rows, at most 50 000)

get/orgs/{orgId}/audit/export

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/orgs/{orgId}/audit/export
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

orgIdstring uuid required

Query parameters

actorstring uuid

user id of the actor

actionstring

exact action, or a prefix: "domain" and "domain." match every domain.* action

resourceTypestring
resourceIdstring
projectIdstring uuid
fromstring date-time

inclusive

tostring date-time

exclusive

includeAccess'true' | 'false'

also list access events (every API key use, OAuth token issue/refresh)

format'csv' | 'json'
maxRowsinteger

default 10000, at most 50000

Response

The file (Content-Disposition: attachment)

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.