Update Member Space Notification Settings
updateMemberSpaceNotificationSettings
mutation is used to update a member's preference for notification settings of a space.
There are different channels for the notification settings (e.g IN_APP
, EMAIL
, DESKTOP
, etc) and
each channel can possibly have different settings. When updating the notification settings you have the options
to enable/disable it completely, set a preference, or set to follow the default notification settings of the space.
You need to provide the id
of the space.
mutation {
updateMemberSpaceNotificationSettings(
channel: EMAIL,
spaceId: "ChLtv0osEWyi"
input: {
enabled: true,
preference: NEW_POST,
}
) {
channel
enabled
preference
}
}
This will update the space notification settings only for you.