Record Database Audit
better-auth.session_token<token>
Signed-in EnderDash browser session cookie.
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
organizationId?string
Length
1 <= lengthorganizationSlug?string
Length
1 <= lengthserverId?string
Length
1 <= lengthserverSlug?string
Length
1 <= lengthsourceId?string
operation*string
Length
1 <= lengthresource*string
Length
1 <= lengthdetails?|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/activity/recordDatabaseAudit" \ -H "Content-Type: application/json" \ -d '{ "operation": "string", "resource": "string" }'null