{
  "opencollection": "1.0.0",
  "info": {
    "name": "Akamai: Application Security Activation history Shared resources: Custom rules API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Shared resources: Custom rules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Akamai API Security List Custom Rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/appsec/v1/configs/:configId/custom-rules",
            "params": [
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each 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": "Lists custom rules defined in a security configuration. _Products:_ All."
        },
        {
          "info": {
            "name": "Akamai API Security Create a Custom Rule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/appsec/v1/configs/:configId/custom-rules",
            "params": [
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each 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": "Creates a new custom rule. _Products:_ All."
        },
        {
          "info": {
            "name": "Akamai API Security Get a Custom Rule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/appsec/v1/configs/:configId/custom-rules/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "{{ruleId}}",
                "type": "path",
                "description": "A unique identifier for rule."
              },
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each 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": "Returns the details of a custom rule. _Products:_ All."
        },
        {
          "info": {
            "name": "Akamai API Security Modify a Custom Rule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{hostname}/appsec/v1/configs/:configId/custom-rules/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "{{ruleId}}",
                "type": "path",
                "description": "A unique identifier for rule."
              },
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each 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": "Updates an existing custom rule. _Products:_ All."
        },
        {
          "info": {
            "name": "Akamai API Security Remove a Custom Rule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{hostname}/appsec/v1/configs/:configId/custom-rules/:ruleId",
            "params": [
              {
                "name": "ruleId",
                "value": "{{ruleId}}",
                "type": "path",
                "description": "A unique identifier for rule."
              },
              {
                "name": "configId",
                "value": "{{configId}}",
                "type": "path",
                "description": "A unique identifier for each 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": "Deletes a custom rule as long as it isn't activated. _Products:_ All."
        }
      ]
    }
  ],
  "bundled": true
}