Delete media
Authorization
bearerAuth AuthorizationBearer <token>
Instance secret token
In: header
Path Parameters
mediaId*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://loading/api/v1/media/med_123"{
"id": "string",
"chat_id": "string",
"message_id": "string",
"storage_path": "string",
"thumbnail_path": "string",
"filename": "string",
"content_type": "string",
"byte_size": 0,
"kind": "image",
"created_at": "2019-08-24T14:15:22Z"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request.",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request.",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request.",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request.",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request.",
"details": null
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request.",
"details": null
}
}