(Outgoing) Remove news

Usage

You can remove news from the server with the websocket.

WebSocket event

You need to emit an event with the following name and data:

Event name: news@remove

Object

KeyTypeExtraDescription
idstring
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".

Example

{
  "id": "28ec1ddb-90df-4d96-b114-bc49ef138d22"
}

Response

{
  "success": true
}

What's next?

Powered by Doctave