Skip to content

Update Notification Settings in Bulk by Admin

PATCH
/admin/user/{userid}/notification-settings

Allow admins to update multiple notification settings (Push, Email, Text) for different events in bulk for a specific user.

userid
required
string

User ID to update notification settings for

userType
required
string

User type (e.g., HYG, DNT)

Request payload to update multiple notification settings

Array<object>

Request to bulk update notification settings for a specific event.

object
email
required
boolean
event
required
string
OFFICE_EVENT_OFFER_RECEIVED
push
required
boolean
true
text
required
boolean
true

Notification settings updated successfully

Bad Request: invalid data or unsupported user type

object
error
string
some meaningful error message

Unauthorized: admin is not authenticated

object
error
string
some meaningful error message

Internal Server Error: failed to update settings

object
error
string
some meaningful error message