Suppress an incident
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/incidents/{incidentId}/actions/suppress
Suppresses a single incident matching the ID
Request
Path Parameters
-
incidentId(required): string(raw)
ID of the incident to suppress
Supported Media Types
- application/json
Root Schema : schema
Type:
object
Suppression request payload
Show Source
-
comment: string
Minimum Length:
1
Maximum Length:4000
Description for suppression actionExample:Actively looking into the incident
-
suppressUntil(required): string
Allowed Values:
[ "MANUALLY_UNSUPPRESSED", "INCIDENT_CLOSES", "INCIDENT_SEVERITY_CHANGES", "AFTER_A_DAY", "AFTER_A_WEEK", "AFTER_DATE" ]
Supression types - Manually unsuppress, Incident closes, Incident severity changes, After a day, After a week, After a given dateExample:AFTER_A_DAY
-
timeToEndSuppression: string
(date-time)
Time to end the supressionExample:
2021-05-25T13:41:32.230Z
Response
Supported Media Types
- application/json
204 Response
Successful operation with no payload
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
404 Response
Not Found
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
object
Response sent back in the case of an error.
Show Source
-
code: string
Status code of the error.Example:
IllegalArgument
-
message: string
A descriptive error message.Example:
argument given is not supported