{
  "opencollection": "1.0.0",
  "info": {
    "name": "Akamai: Application Security Activation history PII learning API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "PII learning",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Akamai API Security Get PII Learning Settings for a Configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/appsec/v1/configs/:configId/versions/:versionNumber/advanced-settings/pii-learning",
            "params": [
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each configuration."
              },
              {
                "name": "versionNumber",
                "value": "{{versionNumber}}",
                "type": "path",
                "description": "A unique identifier for each version of a configuration."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ]
          },
          "docs": "Shows whether PII learning is enabled. This operation applies at the security configuration level. _Products:_ Kona Site Defender, App & API Protector with the Advanced Security module."
        },
        {
          "info": {
            "name": "Akamai API Security Enable PII Learning Settings for a Configuration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{hostname}/appsec/v1/configs/:configId/versions/:versionNumber/advanced-settings/pii-learning",
            "params": [
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each configuration."
              },
              {
                "name": "versionNumber",
                "value": "{{versionNumber}}",
                "type": "path",
                "description": "A unique identifier for each version of a configuration."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Turn on PII learning for your API definition. To enable PII learning, submit your request with a payload of `{\"enablePiiLearning\": true}`. To disable PII learning, submit your request with a payload of `{\"enablePiiLearning\": false}`. This operation applies at the security configuration level. Run [Modify PII settings for an endpoint version](https://techdocs.akamai.com/api-definitions/reference/post-endpoint-version-pii-settings) to manage your API definitions in regards to PII.  _Products:_ Kon"
        }
      ]
    }
  ],
  "bundled": true
}