Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

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