dambel

دمبل

shevron
ورود | ثبت نام

API Docs / media / delete



DELETE /api/v1/media/{media-id}

Deletes an attached media file from a specified element.


Permissions

You must have update permission for the target attachable resource.


URL Parameters

NameTypeRequiredDescriptionExample
media-idintYesID of the media to delete123

Request Example

DELETE /api/v1/media/123
Authorization: Bearer {token}

Response

204 No Content

No content is returned when the media is successfully deleted.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube