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

# Delete rule

> Delete an automation rule for the scoped inbox account.



## OpenAPI

````yaml DELETE /rules/{id}
openapi: 3.1.0
info:
  title: Inbox Zero API
  version: 1.0.0
servers:
  - url: https://www.getinboxzero.com/api/v1
    description: Production server
  - url: http://localhost:3000/api/v1
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /rules/{id}:
    delete:
      description: Delete an automation rule for the scoped inbox account.
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '204':
          description: Rule deleted
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: API-Key

````