Versions Compared

Key

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

Remove

...

a notice

Description

Removes an outage a notice for the given outage notice id.

Package Details

Interface

IOutageNoticeManagerINoticeManager

Syntax

await OutageNoticeManagerNoticeManager.Remove(int outageIdnoticeId, int userId);

Returns

Task<int>

API

DELETE
/api/v1/outage-notices/{id}

Parameters

Path
id: The outage notice id

Query string

userId: user id

Returns

200 OK - Outage Notice id

Example

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