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

# Delete Configuration

> Removes a configuration from ManageXR.  
You cannot delete configurations that are currently applied to devices.




## OpenAPI

````yaml Delete /v1/configurations/{id}
openapi: 3.1.0
info:
  title: ManageXR API
  description: API documentation for ManageXR
  version: 1.0.0
servers:
  - url: https://managexrapi.com
    description: ManageXR API Server
security:
  - basicAuth: []
paths:
  /v1/configurations/{id}:
    delete:
      summary: Delete a configuration
      description: |
        Removes a configuration from ManageXR.  
        You cannot delete configurations that are currently applied to devices.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Unique identifier of the configuration
        - name: organizationId
          in: query
          required: false
          schema:
            type: string
          description: >
            Unique identifier of the organization. This parameter is only
            necessary when using multi-organization API keys. 


            Defaults to the organizationId associated with the API key.
      responses:
        '200':
          description: Configuration deleted successfully
        '400':
          description: Configuration is applied to devices
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    example: 400
                  message:
                    type: string
                    example: >-
                      Cannot delete a configuration that is currently applied to
                      devices. This configuration is referenced by 2 devices.
                  error:
                    type: string
                    example: ManageXR Error
              example:
                statusCode: 400
                message: >-
                  Cannot delete a configuration that is currently applied to
                  devices. This configuration is referenced by 2 devices.
                error: ManageXR Error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    example: 403
                  message:
                    type: string
                    example: Forbidden
                  error:
                    type: string
                    example: ManageXR Error
              example:
                statusCode: 403
                message: Forbidden
                error: ManageXR Error
        '404':
          description: Configuration not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    example: 404
                  message:
                    type: string
                    example: Configuration with id sFidGmedeQofSBcvRcyn not found
                  error:
                    type: string
                    example: ManageXR Error
              example:
                statusCode: 404
                message: Configuration with id sFidGmedeQofSBcvRcyn not found
                error: ManageXR Error
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >
        API key based authentication where <encoded-value> is the Base64
        encoding of `API_KEY_ID`:`API_KEY_SECRET`

        - **Username**: The API Key ID.

        - **Password**: The API Key Secret.

````