---
title: "Delete asset usage"
url: "https://earlyaccess.developers.bynder.com/apis/asset-usage-api-1/versions/159163ba-c9a9-4c4d-a1ea-74c80ec6dea1/paths/api-media-usage/delete"
---

> Full API specification: https://earlyaccess.developers.bynder.com/apis/asset-usage-api-1/versions/159163ba-c9a9-4c4d-a1ea-74c80ec6dea1.md

# Delete asset usage

`DELETE` `/api/media/usage`

Delete an asset usage entry.

## Query parameters

- `integration_id` (string, optional) - Integration id.
- `asset_id` (string, optional) - Asset id.
- `uri` (string, optional) - Asset location.

## Responses

- `204` - No Content
- `400` - Invalid request

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Asset Usage API
  version: 1.0.0
servers:
  - url: https://{your-bynder-domain}/
paths:
  /api/media/usage:
    delete:
      description: Delete an asset usage entry.
      parameters:
        - description: Integration id.
          in: query
          name: integration_id
          schema:
            type: string
        - description: Asset id.
          in: query
          name: asset_id
          schema:
            type: string
        - description: Asset location.
          in: query
          name: uri
          schema:
            type: string
      responses:
        "204":
          description: No Content
        "400":
          content:
            application/json:
              schema:
                properties:
                  asset_id:
                    type: string
                  integration_id:
                    type: string
                type: object
          description: Invalid request
      summary: Delete asset usage
      tags:
        - Asset Usage
security:
  - OAuth2:
      - STATISTICS
  - permanentToken:
      - STATISTICS
components:
  securitySchemes:
    OAuth2:
      flows:
        authorizationCode:
          authorizationUrl: https://{your-auth-url}
          scopes:
            STATISTICS: ""
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
        clientCredentials:
          scopes:
            STATISTICS: ""
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
      type: oauth2
    permanentToken:
      in: header
      name: Authorization
      type: apiKey
```
