Set user subscriptions

put/api/notifications/v1/user/subscriptions

Updates the notification subscriptions for the authenticated user. Accepts a list of subscription changes and applies them, replacing the user's current subscriptions with the provided set.

Request Body

notificationSubscriptions array[object] required
Min items: >= 0 items
Max items: <= 100 items
notificationName string
categoryName string
channel string required
Min length: >= 0 characters
Max length: <= 50 characters
isSubscribed boolean required

200 Response

array[string]
Updated subscription entities

400 Response

name string required
Error code
Allowed values: ValidationFailed IllegalArgument BadRequest DataIntegrityError NotImplementedError RETRIGGER_RATE_LIMITED USER_CREATION_FAILED USER_FALLBACK_FAILED
error string required
Human-readable error message
status integer <int32>required
HTTP status code
Allowed value: 400

500 Response

name string required
Error code
Allowed values: UnexpectedError ThirdPartyError DatabaseError USER_FALLBACK_TIMEOUT
error string required
Human-readable error message
status integer <int32>required
HTTP status code
Allowed value: 500