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

# Exclude formula for a category or item



## OpenAPI

````yaml /openapi.yaml delete /formulas/exclude
openapi: 3.0.1
info:
  title: GetSpecs REST API
  description: REST API documentation for GetSpecs.
  version: 1.0.0
servers:
  - url: /v1
  - url: https://demo-api.getspecs.io/v1
security: []
paths:
  /formulas/exclude:
    delete:
      tags:
        - Formula
      summary: Exclude formula for a category or item
      operationId: formulas#exclude
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/requestBodyFormulaExclude'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/formula_exclusion'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
      security:
        - apiKey: []
          workspaceId: []
components:
  schemas:
    requestBodyFormulaExclude:
      type: object
      properties:
        column_slug:
          type: string
        apply_to:
          type: string
          enum:
            - category
            - item
        project_id:
          type: integer
          nullable: true
        category_id:
          type: integer
          nullable: true
        item_id:
          type: integer
          nullable: true
      required:
        - column_slug
        - apply_to
    formula_exclusion:
      type: object
      properties:
        id:
          type: integer
        column_slug:
          type: string
        apply_to:
          type: string
          enum:
            - category
            - project_item
        excludable_type:
          type: string
        excludable_id:
          type: integer
        created_at:
          type: string
          format: date-time
    error:
      type: object
      properties:
        error:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                nullable: true
              code:
                type: string
                nullable: true
              message:
                type: string
            required:
              - message
  securitySchemes:
    apiKey:
      type: apiKey
      name: authorization
      in: header
    workspaceId:
      type: apiKey
      name: X-Workspace-ID
      in: header

````

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