Skip to main content

Delete a Media

This endpoint deletes a Media

info

This operation requires authentication. The logged user must be the media creator.

HTTP Request

DELETE /api/v2/media/{id}/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this media object

Example Request

fetch('/api/v2/media/{id}/',
{
method: 'DELETE'
headers: {'Authorization': 'Bearer {access_token}'}
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});


Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone