Skip to main content

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-TypeValue
service-api-keystring

Headers

Content-TypeValue
service-api-codestring

Headers

Content-TypeValue
Content-Typeapplication/json

Body (raw)

{
"actionBy": "<string>",
"actionType": "<string>",
"serviceName": "<string>",
"action": "<string>",
"requestUrl": "<string>",
"actionSuccessful": "<boolean>",
"requestData": {},
"responseData": {}
}

Response: 201

LANGUAGE

AUTHORIZATION

Bearer

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!