Skip to main content
DELETE
/
media
Delete videos by ID
curl --request DELETE \
  --url https://api.trytldw.ai/v1/media/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "media_ids": [
    "<string>"
  ]
}
'
{
  "media_deleted": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
media_ids
string[]
required

The IDs of the media to delete. Maximum 200 media can be deleted per request

Response

Successful Response

media_deleted
integer
required

Number of media successfully deleted