Cross-system parallel of PUT /systems/{id}/alerts/silences/{silence_id}.
Preserves the original matchers and start time; only end_at and
comment change. Refuses to operate on silences without a
system_key matcher (404). Requires manage:systems permission.
Query parameters
-
Organization that owns the silence: the
organization_idreturned byGET /alerts/silences. The Mimir tenant is derived server-side, and a silence of another organization sharing that tenant is reported as 404. Mandatory for every role except Customer (where it is ignored).
Responses
-
Silence updated successfully
-
Validation failed.
data.typeis alwaysvalidation_error.data.errors[]lists per-field failures with stablemessagecodes the UI consumes for i18n:required(missing field),invalid_format(bad fingerprint regex or non-RFC3339 end_at),must_be_future(end_at in the past),max/min(out of range duration_minutes). -
Unauthorized - invalid or missing token
-
Forbidden - insufficient permissions
-
Resource not found
curl \
--request PUT 'https://my.nethesis.it/backend/api/alerts/silences/d9f91c6e-1b33-484e-befa-bfb41020e178?organization_id=m4m3mdjdiizs' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"comment": "extended for maintenance window",
"end_at": "2026-05-12T12:16:36Z"
}'
{
"comment": "extended for maintenance window",
"end_at": "2026-05-12T12:16:36Z"
}
{
"code": 200,
"message": "silence updated successfully",
"data": {
"silence_id": "f1e1c2a4-7e57-4b1a-aaa0-2b96c8b5a3aa"
}
}
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "fingerprint",
"message": "required"
}
]
}
}
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "fingerprint",
"message": "invalid_format",
"value": "bad!fingerprint"
}
]
}
}
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "end_at",
"message": "invalid_format",
"value": "not-a-date"
}
]
}
}
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "end_at",
"message": "must_be_future",
"value": "2020-01-01T00:00:00Z"
}
]
}
}
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "duration_minutes",
"message": "max",
"value": "999999"
}
]
}
}
{
"code": 401,
"message": "invalid token",
"data": {}
}
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "username",
"message": "required",
"value": "string"
}
]
}
}