API ReferenceManagementAudit
POST
/v1/mgmt/audit/event

Create an audit log event, using a valid management key.

This API endpoint allows you to create an audit log utilizing various parameters and returns the results in JSON format.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/audit/event

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

userIdstring

actionstring

tenantIdstring

typestring

actorIdstring

dataobject

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/audit/event" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "userId": "string",
  "action": "string",
  "tenantId": "string",
  "type": "string",
  "actorId": "string",
  "data": {}
}'
Was this helpful?