naftiko: 1.0.0-alpha2 info: label: 'Akamai: Application Security API — Shared resources: Custom rules' description: 'Akamai: Application Security API — Shared resources: Custom rules. 6 operations. Lead operation: Akamai Create a custom rule. Self-contained Naftiko capability covering one Akamai business surface.' tags: - Akamai - Application Security - 'Shared resources: Custom rules' created: '2026-05-22' modified: '2026-05-22' binds: - namespace: env keys: AKAMAI_API_KEY: AKAMAI_API_KEY capability: consumes: - type: http namespace: appsec-shared-resources-custom-rules baseUri: https://{hostname}/appsec/v1 description: 'Akamai: Application Security API — Shared resources: Custom rules business capability. Self-contained, no shared references.' resources: - name: configs-configId-custom-rules path: /configs/{configId}/custom-rules operations: - name: postpost-config-custom-rules method: POST description: Create a custom rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: body in: body type: object description: Request body (JSON). required: true - name: getget-configs-custom-rules method: GET description: List custom rules outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: configs-configId-custom-rules-ruleId path: /configs/{configId}/custom-rules/{ruleId} operations: - name: getget-config-custom-rule method: GET description: Get a custom rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: putput-config-custom-rule method: PUT description: Modify a custom rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: body in: body type: object description: Request body (JSON). required: true - name: deletedelete-config-custom-rule method: DELETE description: Remove a custom rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: configs-configId-versions-versionNumber-custom-rules-usage path: /configs/{configId}/versions/{versionNumber}/custom-rules/usage operations: - name: postpost-config-custom-rules-usage method: POST description: List custom rules usage by security policies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountSwitchKey in: query type: string 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 - name: body in: body type: object description: Request body (JSON). required: true