You can remove news from the server with the websocket.
You need to emit an event with the following name and data:
Event name: news@remove
| Key | Type | Extra | Description |
|---|---|---|---|
id | string | required | News id (36 characters) |
Important
Response object must respect every type rule. If any structure isn't respected, your request will be rejected for "bad-request".
{
"id": "28ec1ddb-90df-4d96-b114-bc49ef138d22"
}
{
"success": true
}
Powered by Doctave