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

# Delete shareable link resources

> Removes folders, images, videos and files from a shareable link.



## OpenAPI

````yaml /swagger/management-api.json delete /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources
openapi: 3.0.1
info:
  title: Management API
  version: '2.0'
  description: >-
    Nabbit Management API reference. Endpoints under /api/v1 belong to the
    legacy v1 API; endpoints under /api/v2 belong to the current API.
servers:
  - url: https://api.enad.io
security: []
tags:
  - name: Attribute Templates
    x-displayName: Attribute Templates
  - name: Attributes
    x-displayName: Attributes
  - name: Bulk
    x-displayName: Bulk
  - name: Attribute Template Fields
    x-displayName: Attribute Template Fields
  - name: Brands
    x-displayName: Brands
  - name: Product Bundle Groups
    x-displayName: Product Bundle Groups
  - name: Product Bundles
    x-displayName: Product Bundles
  - name: Bundle Rules
    x-displayName: Bundle Rules
  - name: Categories
    x-displayName: Categories
  - name: Channels
    x-displayName: Channels
  - name: ChannelContent
    x-displayName: ChannelContent
  - name: Variant Groups
    x-displayName: Variant Groups
  - name: Collections
    x-displayName: Collections
  - name: CustomRoles
    x-displayName: CustomRoles
  - name: CustomerGroups
    x-displayName: CustomerGroups
  - name: DAM
    x-displayName: DAM
  - name: Product Drafts
    x-displayName: Product Drafts
  - name: Files
    x-displayName: Files
  - name: Images
    x-displayName: Images
  - name: Logs
    x-displayName: Logs
  - name: Markets
    x-displayName: Markets
  - name: Merchant Users
    x-displayName: Merchant Users
  - name: Orders
    x-displayName: Orders
  - name: Organizations
    x-displayName: Organizations
  - name: Price Relay Rules
    x-displayName: Price Relay Rules
  - name: Products
    x-displayName: Products
  - name: Relations
    x-displayName: Relations
  - name: Variant Templates
    x-displayName: Variant Templates
  - name: Variants
    x-displayName: Variants
  - name: Tags
    x-displayName: Tags
  - name: Redirects
    x-displayName: Redirects
  - name: Scheduling
    x-displayName: Scheduling
  - name: Smart Listings
    x-displayName: Smart Listings
  - name: Static Listings
    x-displayName: Static Listings
  - name: StoreGroups
    x-displayName: StoreGroups
  - name: TaxGroups
    x-displayName: TaxGroups
  - name: Third Party Link
    x-displayName: Third Party Link
  - name: Translations
    x-displayName: Translations
  - name: Videos
    x-displayName: Videos
  - name: Warehouses
    x-displayName: Warehouses
  - name: Collections V2
    x-displayName: Collections V2
  - name: DAM V2
    x-displayName: DAM V2
paths:
  /api/v2/{team_slug}/{app_slug}/dam/shareable-links/{link_id}/resources:
    parameters:
      - $ref: '#/components/parameters/TeamSlug'
      - $ref: '#/components/parameters/AppSlug'
      - name: link_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    delete:
      tags:
        - DAM V2
      summary: Delete shareable link resources
      description: Removes folders, images, videos and files from a shareable link.
      operationId: deleteShareableLinkResources
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShareableLinkResourcesRequest'
      responses:
        '200':
          description: OK
          headers:
            X-Correlation-ID:
              $ref: '#/components/headers/CorrelationID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShareableLinkResourcesResponse'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '500':
          $ref: '#/components/responses/Error'
      security:
        - BearerAuth: []
components:
  parameters:
    TeamSlug:
      name: team_slug
      in: path
      required: true
      schema:
        type: string
    AppSlug:
      name: app_slug
      in: path
      required: true
      schema:
        type: string
  schemas:
    ShareableLinkResourcesRequest:
      type: object
      properties:
        folder_ids:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
        image_ids:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
        video_ids:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
        file_ids:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
    ShareableLinkResourcesResponse:
      type: object
      required:
        - data
      properties:
        data:
          $ref: '#/components/schemas/ShareableLinkResources'
    UUID:
      type: string
      format: uuid
    ShareableLinkResources:
      type: object
      required:
        - folder_ids
        - image_ids
        - video_ids
        - file_ids
      properties:
        folder_ids:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
        image_ids:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
        video_ids:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
        file_ids:
          type: array
          items:
            $ref: '#/components/schemas/UUID'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
    ErrorBody:
      type: object
      required:
        - message
        - details
      properties:
        message:
          type: string
        details:
          items:
            type: string
          type: array
  headers:
    CorrelationID:
      description: Correlation id for tracing the request across logs.
      schema:
        type: string
        format: uuid
  responses:
    Error:
      description: Request-level failure
      headers:
        X-Correlation-ID:
          $ref: '#/components/headers/CorrelationID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Management API token, sent as `Authorization: Bearer <token>`.'

````

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