Dismissing alerts
Alerts can be dismissed by sending a DELETE request to the /api/alert_manager/v1/alerts
endpoint using the query parameters described in this section.
Request parameters
id
stringCase-insensitive IDs of the alerts to delete.type
array of stringsA filter by list of alert types.category
array of stringsA filter by list of alert categories.tenant
array of stringsFilter by one or more tenant IDs.To filter by one tenant ID, specify a tenant ID:2f4b84d8-6aad-487b-b0b1-40845bf72737
.To filter by multiple tenant IDs, specify tenants in the following format:or(2f4b84d8-6aad-487b-b0b1-40845bf72737,c70134c4-a244-4b22-99ad-e081301f7530)
.severity
stringA filter by the alert severity.Available severities:
critical
error
warning
information
Available operators:
eq
Equal to the specified value.For example,eq(warning)
.or
Equal to one of the specified values.For example,or(warning,critical)
.lt
Less than the specified value.For example,lt(warning)
.gt
Greater than the specified value.For example,gt(warning)
.le
Less than or equals to the specified value.For example,le(warning)
.ge
Greater than or equals to the specified value.For example,ge(warning)
.show_deleted
booleanIf true, dismissed alerts will be included in the response.show_deleted_only
booleanIf true, only dismissed alerts will be included in the response.updated_at
stringA filter by date in the UNIX nanoseconds timestamp format when the alert was created or dismissed.Available operators:
eq
Equal to the specified value.For example,eq(1439789551045000000)
.lt
Less than the specified value.For example,lt(1439789551045000000)
.gt
Greater than the specified value.For example,gt(1439789551045000000)
.le
Less than or equals to the specified value.For example,le(1439789551045000000)
.ge
Greater than or equals to the specified value.For example,ge(1439789551045000000)
.created_at
stringA filter by date in the UNIX nanoseconds timestamp format when the alert was created.Available operators:
eq
Equal to the specified value.For example,eq(1439789551045000000)
.lt
Less than the specified value.For example,lt(1439789551045000000)
.gt
Greater than the specified value.For example,gt(1439789551045000000)
.le
Less than or equals to the specified value.For example,le(1439789551045000000)
.ge
Greater than or equals to the specified value.For example,ge(1439789551045000000)
.deleted_at
stringA filter by date in the UNIX nanoseconds timestamp format when the alert was dismissed.Available operators:
eq
Equal to the specified value.For example,eq(1439789551045000000)
.lt
Less than the specified value.For example,lt(1439789551045000000)
.gt
Greater than the specified value.For example,gt(1439789551045000000)
.le
Less than or equals to the specified value.For example,le(1439789551045000000)
.ge
Greater than or equals to the specified value.For example,ge(1439789551045000000)
.limit
integerNumber of the results returned in the response.before
stringCursor to the previous results page.after
stringCursor to the next results page.
Response structure
If the alerts were created successfully, the response returns status 204 without payload.
In this section