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

# Delete Location Group



## OpenAPI

````yaml DELETE /api/v1/mgt/workspaces/{workspaceId}/location-groups/{locationGroupId}
openapi: 3.1.0
info:
  title: Xenia Team API - Delete Location Group
  description: Deletes a location group by ID within the given workspace.
  version: 1.0.0
servers:
  - url: https://api.xenia.team
security: []
paths:
  /api/v1/mgt/workspaces/{workspaceId}/location-groups/{locationGroupId}:
    delete:
      tags:
        - Location Groups
      summary: Delete Location Group
      description: >-
        Deletes the specified location group identified by ID for the given
        workspace.
      parameters:
        - name: workspaceId
          in: path
          required: true
          description: UUID of the workspace.
          schema:
            type: string
            format: uuid
        - name: locationGroupId
          in: path
          required: true
          description: UUID of the location group to delete.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Location group deleted successfully.
          content:
            application/json:
              example:
                data: {}
                meta: {}
        '400':
          description: Bad Request - Invalid workspace or group ID format.
        '401':
          description: Unauthorized - Missing or invalid authentication.
        '403':
          description: Forbidden - Insufficient permissions to delete location group.
        '404':
          description: Not Found - Location group does not exist.
        '500':
          description: Internal Server Error.
      security:
        - clientKey: []
          clientSecret: []
components:
  securitySchemes:
    clientKey:
      type: apiKey
      in: header
      name: x-client-key
    clientSecret:
      type: apiKey
      in: header
      name: x-client-secret

````