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

# Delete a tax

> Deletes an existing tax.

## Use Cases
- Remove obsolete tax rates
- Clean up unused taxes
- Comply with regulatory changes

## Path Parameters
- `id`: Tax UUID (required) - Must be a valid UUID format

## Example Request
`DELETE /api/v0/taxes/123e4567-e89b-12d3-a456-426614174000`

## Warning
This action cannot be undone. Consider deactivating the tax instead of deleting it if it has been used in transactions.



## OpenAPI

````yaml /swagger.yml delete /api/v0/taxes/{id}
openapi: 3.0.0
info:
  title: Devdraft AI Payment & Business Management API
  description: >-

    A comprehensive payment processing and business management API that enables
    seamless integration of cryptocurrency and traditional payment methods.
        
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.devdraft.ai
    description: Production Server
security: []
tags: []
paths:
  /api/v0/taxes/{id}:
    delete:
      tags:
        - Taxes
      summary: Delete a tax
      description: >-
        Deletes an existing tax.


        ## Use Cases

        - Remove obsolete tax rates

        - Clean up unused taxes

        - Comply with regulatory changes


        ## Path Parameters

        - `id`: Tax UUID (required) - Must be a valid UUID format


        ## Example Request

        `DELETE /api/v0/taxes/123e4567-e89b-12d3-a456-426614174000`


        ## Warning

        This action cannot be undone. Consider deactivating the tax instead of
        deleting it if it has been used in transactions.
      operationId: TaxController_remove
      parameters:
        - name: id
          required: true
          in: path
          description: Tax unique identifier (UUID)
          schema:
            format: uuid
            example: tax_123e4567-e89b-12d3-a456-426614174000
            type: string
      responses:
        '200':
          description: Successfully deleted tax
        '400':
          description: Bad Request - Invalid tax ID format
        '401':
          description: Unauthorized - Invalid API credentials
        '404':
          description: Not Found - Tax not found
      security:
        - x-client-secret: []
        - x-client-key: []
components:
  securitySchemes:
    x-client-secret:
      type: apiKey
      in: header
      name: x-client-secret
      description: >-
        Your secret API key. Keep this secure and never expose it in client-side
        code.
    x-client-key:
      type: apiKey
      in: header
      name: x-client-key
      description: Your unique client API key. Obtain this from your Devdraft AI dashboard.

````