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

# Delete a usage entry

> Use this API to delete an existing usage entry.

<Info>
  To use this endpoint, ensure that you are using the `v2/usage` API endpoint:

  `https://api.salesbricks.com/api/v2/usage`
</Info>


## OpenAPI

````yaml DELETE /usage
openapi: 3.0.0
info:
  title: Salesbricks Usage Entry API
  description: >-
    Use this API to increment a final value counter, update an existing usage
    entry, or delete a usage entry for a customer.
  version: 1.0.0
servers:
  - url: https://api.salesbricks.com/api/v2
security:
  - salesbricksAuth: []
paths:
  /usage:
    delete:
      summary: Delete a usage entry
      description: Delete a usage entry by providing the transaction ID.
      operationId: deleteUsageEntry
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                transaction_id:
                  type: string
                  description: The unique identifier for the usage entry to delete.
                  example: '54321'
      responses:
        '200':
          description: Usage entry deleted successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Usage entry deleted successfully.
        '400':
          description: Bad Request. Missing or invalid transaction ID.
        '404':
          description: Not Found. Usage entry does not exist.
components:
  securitySchemes:
    salesbricksAuth:
      type: apiKey
      in: header
      name: X-SALESBRICKS-KEY
      description: Use your Salesbricks API key to authenticate requests.

````