---
title: "PUT /v1/notification-groups/{notificationGroupUid}/subscription"
method: PUT
path: "/v1/notification-groups/{notificationGroupUid}/subscription"
tags: ["NotificationGroupSubscription"]
---

# PUT /v1/notification-groups/{notificationGroupUid}/subscription

`PUT /v1/notification-groups/{notificationGroupUid}/subscription`

## Path parameters

- `notificationGroupUid` string, required

## Request body

- MarksmanApiV1SaveNotificationGroupSubscriptionRequest
  - `notificationGroupUid` string
  - `filter` MarksmanApiV1SubscriptionFilter — Subscription filter: when multiple dimensions are set, an alert matches if it satisfies at least one (OR). - strategyGroupUids: alert's strategy must belong to one of these groups. - strategyUids: alert's strategy_uid must be in this list. - strategyLevels: alert's (strategy_uid, level_uid) must be in this list. - labels: alert must contain all these key-value pairs with the same values. - excludeLabels: alert must not contain any of these key-value pairs (subset match). - datasourceUids: alert's datasource must be in this list. - datasourceLevelUids: alert datasource's level_uid must be in this list.
    - `strategyGroupUids` string[]
    - `strategyUids` string[]
    - `strategyLevels` MarksmanApiV1StrategyLevelPair[]
      - `strategyUid` string
      - `levelUid` string
    - `datasourceUids` string[]
    - `labels` object
    - `excludeLabels` object
    - `datasourceLevelUids` string[]

## Response `200`

OK

- MarksmanApiV1SaveNotificationGroupSubscriptionReply

---

[API](https://skmtc.net/aide-family/apis/untitled-api-3.md) · [All operations](https://skmtc.net/aide-family/apis/untitled-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aide-family/untitled-api-3/revisions/26ae221fccba/schema)
