Skip to main content

Delete object from the bucket.

DELETE 

/api/v2/instance/:instanceId/bucket/media

Delete object from the bucket.

Request

Path Parameters

    instanceId stringrequired

    ID of the instance.

Query Parameters

    mediaId Media IDrequired

    ID of the media.

Responses

Success - status 200

Schema
    mediaId stringrequired
    type stringrequired
    filename stringrequired
    mimetype stringrequired
    path stringrequired
    createdAt stringrequired
    deletedAt stringrequired
    bucketBucketId stringrequired
    Message object
    messageId stringrequired
    keyId stringrequired
    keyFromMe booleanrequired
    keyRemoteJid stringrequired
    keyParticipant stringrequired
    pushName stringrequired
    contentType stringrequired
    isGroup booleanrequired
    content objectrequired
    source stringrequired
    messageTimestamp stringrequired
    createdAt date-timerequired
    deletedAt date-timerequired
    typeOfDeletion stringrequired

    Possible values: [everyone, forMe]

Loading...