cURL
curl --request GET \ --url https://test.deribit.com/api/v2/private/set_announcement_as_read \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 5147, "method": "private/set_announcement_as_read", "params": { "announcement_id": 1550058362418 } } '
{ "jsonrpc": "2.0", "id": 1569, "result": "ok" }
Marks an announcement as read, so it will not be shown in get_new_announcements.
get_new_announcements
Scope: account:read_write
account:read_write
Try in API console
the ID of the announcement
1550058362418
Success response
The JSON-RPC version (2.0)
2.0
Result of method execution. ok in case of success
ok
The id that was sent in the request
Was this page helpful?