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

# Delete Category

> Delete an expense category. Expenses already assigned to it are kept but become uncategorized.



## OpenAPI

````yaml /openapi.json delete /expenses/categories/{category_id}
openapi: 3.1.1
info:
  title: Everhour API
  version: 1.0.0
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://api.everhour.com
security:
  - ApiKeyAuth: []
tags:
  - name: Clients
  - name: Custom Fields
  - name: Expenses
  - name: Invoices
  - name: Projects
  - name: Reports
  - name: Schedule
  - name: Tasks
  - name: Time Off
  - name: Time Records
  - name: Timecards
  - name: Timers
  - name: Timesheets
  - name: Users
  - name: Webhooks
paths:
  /expenses/categories/{category_id}:
    delete:
      tags:
        - Expenses
      summary: Delete Category
      description: >-
        Delete an expense category. Expenses already assigned to it are kept but
        become uncategorized.
      operationId: deleteCategory
      parameters:
        - name: category_id
          in: path
          required: true
          description: Expense Category ID
          schema:
            type: number
            example: 94
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                targetCategory:
                  type: integer
                  description: Move this category's expenses to the given category ID.
                removeExpenses:
                  type: boolean
                  description: Delete the category's expenses instead of reassigning them.
                  example: false
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key

````