Delete a saved audit-log view
/portal/v1/me/audit-views/{surface}/{name}Deletes the calling admin's saved view identified by the :surface and :name path params. :surface must be admin or identities (otherwise 400). Idempotent — removing a view that doesn't exist is a no-op and still returns 204.
Authentication
Bearer Token
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
Path Parameters
surfacestring Required namestring Required Responses
Idempotent — removing a name that doesn't exist returns 204 with no error.
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
curl -X DELETE "https://auth.canopy-io.com/portal/v1/me/audit-views/value/value" \ -H "Authorization: Bearer $CANOPY_TOKEN"
HTTP/1.1 204 Idempotent — removing a name that doesn't exist returns 204 with no error. (empty body)
Tell us how we can improve this guide.