Remove() [NoticeManager]

Remove a notice

Description

Removes a notice for the given notice id.

Package Details

Interface

INoticeManager

Syntax

await NoticeManager.Remove(int noticeId, int userId);

Returns

Task<int>

API

DELETE
/api/v1/notices/{id}

Parameters

Path
id: The notice id

Query string

userId: user id

Returns

200 OK - Notice id

Example

const int noticeId = 123; const int userId = 1234; var notices = await _noticeManager.Remove(noticeId, 1234);