{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kong Enterprise Admin ACLs Portal Audit Logs API",
    "version": "3.14.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Kong-Admin-Token",
      "value": "{{Kong-Admin-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Portal Audit Logs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Portal Audit Log Replay Job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/audit-log-replay-job",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ]
          },
          "docs": "Returns the audit log replay job's configuration and status."
        },
        {
          "info": {
            "name": "Update Portal Audit Log Replay Job",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/audit-log-replay-job",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a job to re-send audit logs to an portal's webhook."
        },
        {
          "info": {
            "name": "Get Portal Audit Log Webhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/audit-log-webhook",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ]
          },
          "docs": "Returns configuration for the audit log webhook."
        },
        {
          "info": {
            "name": "Update Portal Audit Log Webhook",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/audit-log-webhook",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration for a webhook to receive audit logs."
        },
        {
          "info": {
            "name": "Delete Portal Audit Log Webhook",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/audit-log-webhook",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ]
          },
          "docs": "Removes configuration for the audit log webhook. The destination ID is set to empty, and the webhook enabled field is set to false"
        },
        {
          "info": {
            "name": "Get Portal Audit Log Webhook Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{protocol}://{hostname}:{port}{path}/v3/portals/:portalId/audit-log-webhook/status",
            "params": [
              {
                "name": "portalId",
                "value": "",
                "type": "path",
                "description": "ID of the portal."
              }
            ]
          },
          "docs": "Returns status of the audit log webhook."
        }
      ]
    }
  ],
  "bundled": true
}