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
Name | In | Type | Required | Description |
---|---|---|---|---|
banner_ids | body | list([integer]) | true | The request body(banner ids list) |
Example Body Parameters
- JSON
{
"banner_ids": ["integer"]
}
Example Request
- JavaScript
- Bash
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);
});
# You can also use wget
curl -X POST /api/v2/notification/banner/dispose/ \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json'
-H "Authorization: Bearer <token>"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Response status code | None |