> ## Documentation Index
> Fetch the complete documentation index at: https://developers.aptranet.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete delivery rule

> Requires Modify distribution. Up to five rules per distribution. Brotli overrides require Origin Shield. Updates replace rule settings.



## OpenAPI

````yaml /openapi-products.json delete /cloud-cdn/distributions/rules
openapi: 3.1.0
info:
  title: Aptranet delivery controls and TLS Manager
  version: 1.0.0
  description: >-
    Public project-scoped API. Use the access key and secret together.
    Browser-only organization administration is documented separately.
servers:
  - url: https://api.aptranet.com
security:
  - bearerAuth: []
    apiSecret: []
paths:
  /cloud-cdn/distributions/rules:
    delete:
      tags:
        - CDN delivery rules
      summary: Delete delivery rule
      description: >-
        Requires Modify distribution. Up to five rules per distribution. Brotli
        overrides require Origin Shield. Updates replace rule settings.
      operationId: DELETE_cloud_cdn_distributions_rules
      parameters:
        - name: distribution
          in: query
          required: true
          schema:
            type: integer
            minimum: 1
        - name: rule
          in: query
          required: true
          schema:
            type: integer
            minimum: 1
      responses:
        '200':
          description: Successful response.
        default:
          description: >-
            Request rejected or service unavailable. See the error code and
            description; refresh before retrying a mutation whose result is
            uncertain.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        error_description:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Project API access key.
    apiSecret:
      type: apiKey
      in: header
      name: Aptranet-Secret
      description: Current secret for the access key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.