---
title: "Remove assets from a collection"
url: "https://earlyaccess.developers.bynder.com/apis/collections-api-1/versions/fa75179f-d3db-46c2-8693-3128e9d35db4/paths/api-v4-collections-id--media/delete"
---

> Full API specification: https://earlyaccess.developers.bynder.com/apis/collections-api-1/versions/fa75179f-d3db-46c2-8693-3128e9d35db4.md

# Remove assets from a collection

`DELETE` `/api/v4/collections/{id}/media`

Remove assets from a specific collection by ID.

## Path parameters

- `id` (string, required)

## Query parameters

- `deleteIds` (string, required)

## Responses

- `204` - No Content
- `403` - Access denied.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Collections API
  version: 1.0.0
servers:
  - url: https://{your-bynder-domain}/
paths:
  /api/v4/collections/{id}/media:
    delete:
      description: Remove assets from a specific collection by ID.
      parameters:
        - in: path
          name: id
          required: true
          schema:
            example: 00000000-0000-0000-0000000000000000
            type: string
        - in: query
          name: deleteIds
          required: true
          schema:
            example: 00000000-0000-0000-0000000000000000,00000000-0000-0000-0000000000000000
            type: string
      responses:
        "204":
          description: No Content
        "403":
          content:
            application/json:
              schema:
                properties:
                  message:
                    example: Access denied
                    type: string
                  statuscode:
                    example: 403
                    type: integer
                type: object
          description: Access denied.
      security:
        - OAuth2:
            - COLLECTIONS
        - permanentToken:
            - COLLECTIONS
      summary: Remove assets from a collection
      tags:
        - Collections assets
security:
  - OAuth2:
      - COLLECTIONS
  - permanentToken:
      - COLLECTIONS
components:
  securitySchemes:
    OAuth2:
      flows:
        authorizationCode:
          authorizationUrl: https://{your-auth-url}
          scopes:
            COLLECTIONS: ""
            INBOXPUBLIC: To retrieve collections other users shared/received
            OUTBOXPUBLIC: To retrieve collections other users shared/received
            PUBLICCOLLECTIONS: To retrieve collections other users created
            PUBLISHCOLLECTIONS: ""
            SHARECOLLECTION: ""
            SHARING: ""
            collection.public.view: To retrieve public collections
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
        clientCredentials:
          scopes:
            COLLECTIONS: ""
            INBOXPUBLIC: To retrieve collections other users shared/received
            OUTBOXPUBLIC: To retrieve collections other users shared/received
            PUBLICCOLLECTIONS: To retrieve collections other users created
            PUBLISHCOLLECTIONS: ""
            SHARECOLLECTION: ""
            SHARING: ""
            collection.public.view: To retrieve public collections
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
      type: oauth2
    permanentToken:
      in: header
      name: Authorization
      type: apiKey
```
