PUT /api /v2 /notifications /channels /{id} /subscriptions /{subscription_id} Replace the name and the filter of an Activity subscription of the channel. Operations that already sent a message are not sent again. Records notification.subscription.update. Organization administrators only.
curl -X PUT 'https://principal.example.com/api/v2/notifications/channels/<channel-id>/subscriptions/<subscription-id>' \
-H "Authorization: Bearer $PRINCIPAL_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"filter": {
"kinds": [
"discovery"
]
}
}'{
"id" : "87ea5dfc-8b8e-484d-8489-79496e706390" ,
"name" : "example" ,
"channel_id" : "590f33ee-6ee7-4764-87ac-f362e3946b9c" ,
"created_by" : null ,
"created_at" : "2026-11-16T09:30:00Z" ,
"updated_at" : "2026-11-16T09:30:00Z" ,
"filter" : {
"routine" : null ,
"needs_action" : null ,
"kinds" : [
"example"
],
"statuses" : [
"example"
],
"targets" : [
"0e8a3ad9-80ec-4798-8601-2b7eecf4327e"
],
"rules" : [
"0f400122-e37d-43a4-82df-347caac2be31"
],
"connectors" : [
"4dc37f61-dd2c-4942-8fab-94f3456668d5"
],
"applications" : [
"d2005cc2-06cc-4fde-8f2b-e43a200cb050"
],
"started_by" : [
"example"
],
"people" : [
"ab3ccc8d-ba2a-4cf7-81ce-4d830bb8a623"
]
}
}Made-up values, built from the NotificationSubscriptionResponse schema.
Parameters Path2 required of 2
id string · uuid path required
Notification channel ID (UUID)
subscription_id string · uuid path required
Activity subscription ID (UUID)
Required1 of 2 fields
The Activity feed filter a subscription keeps: the dimensions GET /activity/operations filters by, named as the value lists of GET /activity/operations/facets (targets holds the ids target_id takes, and so on). An empty list does not narrow the view. statuses take only final results. Without statuses the subscription takes every final result. needs_action true keeps operations whose problem is still the last finished run of the same operation on the same object, as the feed decides it when the operation finishes.
10 fields
kinds array of string
discoverydrift_check applybulk_apply bulksyncremediationcleanuptarget_delete
max items 10
statuses array of string
succeededpartialneeds_decision failedcancelled
max items 5
targets array of string · uuid
max items 50
rules array of string · uuid
max items 50
connectors array of string · uuid
max items 50
applications array of string · uuid
max items 50
started_by array of string
personoperationschedulesystem
max items 4
people array of string · uuid
max items 50
routine boolean
can be null
needs_action boolean
can be null
Optional1 field
name string
Optional name the channel's delivery list shows next to what the subscription sent.
max length 200
Responses 200 OK
NotificationSubscriptionResponse · 7 fields channel_id string · uuid required
The stored filter of a subscription. An empty list does not narrow the view.
10 fields
kinds array of string required
statuses array of string required
targets array of string · uuid required
rules array of string · uuid required
connectors array of string · uuid required
applications array of string · uuid required
started_by array of string required
people array of string · uuid required
routine boolean required
can be null
needs_action boolean required
can be null
created_by string · uuid required
The person who created the subscription. Null when unknown or removed.
can be null
created_at string · date-time required
updated_at string · date-time required
422 The filter names an object outside the caller's organization, or the channel can't send subscriptions.
Common errors: 400 401 403 404 409 413 429 503 504 . They mean the same for every operation, see Errors .