cURL
curl --request DELETE \ --url https://{defaultHost}/v1/medias/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "ab461ace-cc7b-4ff8-aaef-a3b2613f20f7", "object": "media", "deleted": true }
Deletes a specific media.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The UUID of the specific object.
A string describing the object type returned.
Whether or not this object was succesfully deleted.
Was this page helpful?