Skip to main content
DELETE
/
api
/
v1
/
media
Bulk Delete Media Assets
curl --request DELETE \
  --url http://localhost:8000/api/v1/media/ \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "deleted_count": 123,
  "not_found_ids": [
    123
  ],
  "storage_cleanup_pending": false
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

ids
integer[]
required

Media IDs to delete (max 100)

Maximum array length: 100
company_id
integer
required

Company ID

Response

Successful Response

message
string
required
deleted_count
integer
required
not_found_ids
integer[]
storage_cleanup_pending
boolean
default:false