{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpenSearch Security Plugin REST Account Audit API",
    "version": "2.x"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Audit",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get audit log configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{cluster-host}:9200/_plugins/_security/api/audit"
          },
          "docs": "Get audit log configuration"
        },
        {
          "info": {
            "name": "Replace audit log configuration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{cluster-host}:9200/_plugins/_security/api/audit/config",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replace audit log configuration"
        },
        {
          "info": {
            "name": "Patch audit log configuration",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{cluster-host}:9200/_plugins/_security/api/audit/config",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Patch audit log configuration"
        }
      ]
    }
  ],
  "bundled": true
}