> ## 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 a shared link

> Deletes a sharing record you have permission to manage. Send AssetShareID in a JSON body. The asset itself is not deleted. Subsequent GetSharing requests for this identifier return an empty object. Do not rely on repeated deletion returning the same success response.



## OpenAPI

````yaml /openapi/openapi.json delete /Assets/DeleteSharing
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/DeleteSharing:
    delete:
      tags:
        - Assets / Shipments
      summary: Delete a shared link
      description: >-
        Deletes a sharing record you have permission to manage. Send
        AssetShareID in a JSON body. The asset itself is not deleted. Subsequent
        GetSharing requests for this identifier return an empty object. Do not
        rely on repeated deletion returning the same success response.
      operationId: delete_sharings_Assets_DeleteSharing_delete
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteSharing'
            examples:
              delete:
                summary: Delete sharing
                value:
                  AssetShareID: '00000000000000000000000000000006'
      responses:
        '200':
          description: Shared link deleted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MutationResult'
              example:
                Code: 200
                Message: Success
        '400':
          description: >-
            Request rejected. Check your credentials, account access, and
            request parameters.
        '422':
          description: Request validation failed. Check required fields and value types.
      security:
        - accessKey: []
components:
  schemas:
    DeleteSharing:
      properties:
        AssetShareID:
          type: string
          description: >-
            Identifier granting access to a shared asset. Keep it private except
            when sharing with intended recipients.
      type: object
      required:
        - AssetShareID
    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.