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
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
404 Response
Not Found
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
object
Error response
Show Source
-
code(required): string
A short error code that defines the error, meant for programmatic parsing
-
message(required): string
A human-readable error string