> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/001_user/013_notifications/012__update_group_notification_settings.md).

# Update Group Notification Settings

GraphQL endpoint: `/user`

Updates the notification preferences attached to one of the calling user's group memberships and returns the updated settings. Only the arguments provided are changed.

## Query

```graphql
mutation (
  $groupUserMemberId: ID!
  $groupUserMemberJoinRequestReceivedNotification: Boolean
  $groupUserMemberJoinRequestReceivedEmail: Boolean
) {
  updateGroupNotificationSettings (
    groupUserMemberId: $groupUserMemberId
    groupUserMemberJoinRequestReceivedNotification: $groupUserMemberJoinRequestReceivedNotification
    groupUserMemberJoinRequestReceivedEmail: $groupUserMemberJoinRequestReceivedEmail
  ) {
    id
    groupUserMemberJoinRequestReceivedNotification
    groupUserMemberJoinRequestReceivedEmail
  }
}

```

## Variables

```json
{
  "groupUserMemberId": "00000000-0000-4000-8000-000000000001",
  "groupUserMemberJoinRequestReceivedEmail": false,
  "groupUserMemberJoinRequestReceivedNotification": false
}
```

## Response

```json
{
  "data": {
    "updateGroupNotificationSettings": {
      "groupUserMemberJoinRequestReceivedEmail": false,
      "groupUserMemberJoinRequestReceivedNotification": false,
      "id": "00000000-0000-4000-8000-000000000001"
    }
  }
}
```
