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

# Delete an asset

> Deletion is allowed only when the asset is Created or Ready. Send a JSON body containing only `AssetID`.



## OpenAPI

````yaml /openapi/openapi.json delete /Assets/DeleteAsset
openapi: 3.1.0
info:
  title: Aiyoti Integration API Basic
  description: Create, retrieve, update, and manage the tracking lifecycle of assets.
  version: 0.0.1
servers:
  - url: https://api.aiyoticloud.com
security: []
tags:
  - name: Users
    description: Log in and refresh credentials.
  - name: Carriers
    description: Look up the carriers available to an account.
  - name: Labels
    description: Look up the labels available for new assets.
  - name: Assets / Shipments
    description: Create, list, retrieve, edit, annotate, and delete assets.
paths:
  /Assets/DeleteAsset:
    delete:
      tags:
        - Assets / Shipments
      summary: Delete an asset
      description: >-
        Deletion is allowed only when the asset is Created or Ready. Send a JSON
        body containing only `AssetID`.
      operationId: delete_asset_Assets_DeleteAsset_delete
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteAssetRequest'
            examples:
              delete:
                summary: Delete
                value:
                  AssetID: '00000000000000000000000000000003'
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MutationResult'
              example:
                Code: 200
                Message: Success
        '422':
          description: Request validation failed. Check required fields and value types.
      security:
        - accessKey: []
components:
  schemas:
    DeleteAssetRequest:
      type: object
      properties:
        AssetID:
          type: string
          description: Unique identifier of the asset to delete.
      required:
        - AssetID
      description: Identifies the asset to delete.
    MutationResult:
      type: object
      properties:
        Code:
          type: integer
          description: >-
            Application code in the response body. Separate from the HTTP
            status.
        Message:
          type: string
          description: Result message.
      description: Response body for successful asset changes.
  securitySchemes:
    accessKey:
      type: apiKey
      in: header
      name: AccessKey
      description: >-
        Send the `access` token returned by Login. Both `access` and `refresh`
        tokens are accepted; reserve `refresh` for credential renewal.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.