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_idsbodylist([integer])trueThe request body(banner ids list)

Example Body Parameters

{
"banner_ids": ["integer"]
}

Example Request


const inputBody = '{
"banner_ids": ["integer"]
}';
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 ContentResponse status codeNone