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

# Delete Extraction Category API

> Delete an extraction category and all of its dispositions via DELETE /extraction-categories/{category_id}. The category owns its dispositions; deletion is permanent.

<Warning>
  Deleting a category **deletes all of its dispositions** — the category owns them. Deletion is permanent and cannot be undone. Historical call execution results that already contain output from this category's dispositions are not affected; only future calls stop evaluating them. To keep a disposition, move it to another category first by updating it with a different `category_id`.
</Warning>


## OpenAPI

````yaml DELETE /extraction-categories/{category_id}
openapi: 3.1.0
info:
  title: Bolna API
  description: >-
    Use and leverage Bolna Voice AI using APIs through HTTP requests from any
    language in your applications and workflows.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.bolna.ai
    description: Production server
security:
  - bearerAuth: []
paths:
  /extraction-categories/{category_id}:
    delete:
      description: >
        Delete an extraction category. The category owns its dispositions, so
        this deletes the category **and all of its dispositions**, and detaches
        the category from the agent.


        Historical call execution results that already contain output from this
        category's dispositions are not affected — only future calls stop
        evaluating them.
      parameters:
        - in: path
          name: category_id
          schema:
            type: string
            format: uuid
          required: true
          description: The category to delete.
      responses:
        '200':
          description: Category and its dispositions deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractionCategoryDeleteResponse'
        '404':
          description: >-
            Category not found — the id is unknown or its agent belongs to
            another account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ExtractionCategoryDeleteResponse:
      type: object
      description: >-
        Response returned after deleting an extraction category. Deleting a
        category also deletes all of its dispositions.
      properties:
        message:
          type: string
          example: Category deleted successfully
        id:
          type: string
          format: uuid
          description: ID of the deleted category.
          example: 9b2e8f10-4c7d-4e2a-9f31-6a8d5c1b0e42
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````