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

# Delete Asset Versions

> Delete an asset version.

:param asset_id: asset id
:param asset_version: asset version
:param force_delete: if true, the asset version will be deleted even if there are jobs associated with it
:param deletion_reason: reason for deletion



## OpenAPI

````yaml docs/avxcelerate/assets-manager-rest-api/scenario-manager.aws-preprod-api-asset-manager-v1.json DELETE /assets/{asset_id}/versions/{asset_version}
openapi: 3.1.0
info:
  title: Assets Manager
  summary: Service to manage assets for the simulations
  version: 0.1.0
servers:
  - url: https://{host}/api/assets-manager/v1
    variables:
      host:
        default: api.example.com
        description: Host the API is served from
security: []
paths:
  /assets/{asset_id}/versions/{asset_version}:
    delete:
      tags:
        - assets
      summary: Delete Asset Versions
      description: >-
        Delete an asset version.


        :param asset_id: asset id

        :param asset_version: asset version

        :param force_delete: if true, the asset version will be deleted even if
        there are jobs associated with it

        :param deletion_reason: reason for deletion
      operationId: assets-delete_asset_versions
      parameters:
        - name: asset_id
          in: path
          required: true
          schema:
            type: string
            title: Asset Id
        - name: asset_version
          in: path
          required: true
          schema:
            type: integer
            title: Asset Version
        - name: force_delete
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            description: >-
              Forcibly delete the asset version without checking if any Explore
              job depends on it. This is an unsafe operation and will result in
              the loss of the transparency, traceability, and reproducibility
              guarantees for all Explore jobs that depend on this asset version.
            title: Force Delete
          description: >-
            Forcibly delete the asset version without checking if any Explore
            job depends on it. This is an unsafe operation and will result in
            the loss of the transparency, traceability, and reproducibility
            guarantees for all Explore jobs that depend on this asset version.
        - name: deletion_reason
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Reason for deleting the asset version.
            title: Deletion Reason
          description: Reason for deleting the asset version.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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
      scheme: bearer

````