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

# Delete a usage group



## OpenAPI

````yaml https://api.select.dev/v2/openapi.json delete /usage-group-sets/{usage_group_set_id}/usage-groups/{usage_group_id}
openapi: 3.1.0
info:
  title: SELECT API (v2)
  version: 0.1.0
servers:
  - url: https://api.select.dev/v2
    description: SELECT API v2
security: []
paths:
  /usage-group-sets/{usage_group_set_id}/usage-groups/{usage_group_id}:
    delete:
      tags:
        - usage-group-sets
      summary: Delete a usage group
      operationId: >-
        delete_usage_group_route_usage_group_sets__usage_group_set_id__usage_groups__usage_group_id__delete
      parameters:
        - name: usage_group_set_id
          in: path
          required: true
          schema:
            type: string
            title: Usage Group Set Id
        - name: usage_group_id
          in: path
          required: true
          schema:
            type: string
            title: Usage Group Id
        - name: If-Match
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: If-Match
        - name: x-tenant-id
          in: header
          required: true
          schema:
            type: string
            description: The organization ID the request is scoped to.
            title: X-Tenant-Id
          description: The organization ID the request is scoped to.
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      description: Organization API key (sl_…).
      scheme: bearer

````