> ## 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 App Version

> Deletes a specific app version

| App type      | Deletion scope |
|---------------|---------------|
| managed  app | Deletes the specified managed app version. This also deletes all release channels that target this managed version. See [Delete release channel](https://docs.managexr.com/api-reference/endpoint/v1/delete-app-release-channel). |
| shared   app | Deletes the specified shared version in the recipient organization only (owner org keeps its copy) |




## OpenAPI

````yaml Delete /v1/apps/{packageName}/versions/{versionId}
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/apps/{packageName}/versions/{versionId}:
    delete:
      summary: Delete app version
      description: >
        Deletes a specific app version


        | App type      | Deletion scope |

        |---------------|---------------|

        | managed  app | Deletes the specified managed app version. This also
        deletes all release channels that target this managed version. See
        [Delete release
        channel](https://docs.managexr.com/api-reference/endpoint/v1/delete-app-release-channel).
        |

        | shared   app | Deletes the specified shared version in the recipient
        organization only (owner org keeps its copy) |
      parameters:
        - name: packageName
          in: path
          required: true
          schema:
            type: string
          description: The package name of the app
        - name: versionId
          in: path
          required: true
          schema:
            type: string
          description: Unique identifier of the app version
        - 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: App version deleted successfully
        '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: App version not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    example: 404
                  message:
                    type: string
                    example: App version with id av_123 not found
                  error:
                    type: string
                    example: ManageXR Error
              example:
                statusCode: 404
                message: App version with id av_123 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.

````