Skip to main content

Dispose Broadcast Messages

This endpoint disposes a broadcast message for a user.

info

The broadcast message will disappear and will no longer appear in the broadcast messages list, see List Broadcast Messages.

info

This operation requires authentication

HTTP Request

POST /api/v2/notification/banner/dispose/

Parameters

NameInTypeRequiredDescription
banner_idslist([integer])truenonenone

Example Body Parameters

{
"banner_ids": [
0
]
}

Example Request


const inputBody = '{
"banner_ids": [
0
]
}';
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json',
'Authorization: Bearer <token>'
};

fetch('/api/v2/notification/banner/dispose/',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentnoneNone