Get audit history

GET https://{{host}}/papi/v1/hostnames/:hostname/audit-history

Gets a detailed record of all modifications made to a property hostname.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
PAPI-Use-Prefixesstring(Required) Enum Sets whether to represent ID prefixes in response data. Set to false when exchanging PAPI data with other APIs.
Acceptstring

RESPONSES

status: OK

{"history":{"items":[{"action":"ADD","certProvisioningType":"CPS_MANAGED","cnameTo":"example.com.edgesuite.net","contractId":"ctr_C-0N7RAC71","edgeHostnameId":"ehn_895824","groupId":"grp_12345","network":"PRODUCTION","propertyId":"prp_175780","timestamp":"2020-05-14T17:08:55Z","user":"jsmith"},{"action":"MOVE","certProvisioningType":"CPS_MANAGED","cnameTo":"example.com.edgesuite.net","contractId":"ctr_C-0N7RAC7","edgeHostnameId":"ehn_895824","groupId":"grp_32145","network":"PRODUCTION","propertyId":"prp_175780","timestamp":"2020-05-14T17:08:55Z","user":"jsmith"},{"action":"ACTIVATE","certProvisioningType":"CPS_MANAGED","cnameTo":"example.com.edgesuite.net","contractId":"ctr_C-0N7RAC7","edgeHostnameId":"ehn_895824","groupId":"grp_12345","network":"STAGING","propertyId":"prp_175780","timestamp":"2020-05-14T17:08:55Z","user":"jsmith"},{"action":"REMOVE","certProvisioningType":"CPS_MANAGED","cnameTo":"example.com.edgesuite.net","contractId":"ctr_C-0N7RAC7","edgeHostnameId":"ehn_895824","groupId":"grp_32145","network":"STAGING","propertyId":"prp_175780","timestamp":"2020-05-14T17:08:55Z","user":"jsmith"},{"action":"DEACTIVATE","certProvisioningType":"CPS_MANAGED","cnameTo":"example.com.edgesuite.net","contractId":"ctr_K-0N7RAK7","edgeHostnameId":"ehn_895824","groupId":"grp_12345","network":"STAGING","propertyId":"prp_175780","timestamp":"2020-05-14T20:00:00Z","user":"jsmith"}]},"hostname":"www.example.com"}