Create a new audit log entry
POST /api/v1/audit-logs
Description
Create a new audit log entry.
URL:
- Raw URL:
/api/v1/audit-logs - Host:
- Path:
/api/v1/audit-logs
Headers:
- service-api-key: (Required)
- service-api-code: (Required)
- Content-Type: application/json
/api/v1/audit-logs
Headers
| Content-Type | Value |
|---|---|
| service-api-key | string |
Headers
| Content-Type | Value |
|---|---|
| service-api-code | string |
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"actionBy": "<string>",
"actionType": "<string>",
"serviceName": "<string>",
"action": "<string>",
"requestUrl": "<string>",
"actionSuccessful": "<boolean>",
"requestData": {},
"responseData": {}
}
Response: 201
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/audit-logs \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!