---
title: "Update a member's email settings"
method: PATCH
path: "/v1/members/{member_id}/email_notifications"
tags: ["Members"]
---

# Update a member's email settings

`PATCH /v1/members/{member_id}/email_notifications`

Update a member's email settings

If you are using a personal access token, you need to have access level greater than `member` to edit other member's settings

## Path parameters

- `member_id` integer, required

## Query parameters

- `send_email` boolean

## Request body

- object
  - `private_issue_realtime` object
    - `is_active` boolean — Indicates whether we should send a mail for new internal incidents
    - `settings` object
      - `vcs_author_only` boolean — Indicates whether we should send a mail for new internal incidents
      - `issue_type` 'all_issues' | 'vcs_only' | 'ods_only' — Indicates whether we should send a mail for incidents coming from a VCS or an Other Data Source
  - `weekly_recap` object
    - `is_active` boolean — Indicates whether we should send a mail for the workspace's weekly recap
    - `settings` object, nullable
  - `private_issue_access` object
    - `is_active` boolean — Indicates whether we should send a mail when the member gets access to an incident
    - `settings` object, nullable
  - `private_issue_feedback_submitted` object
    - `is_active` boolean — Indicates whether we should send a mail whenever a feedback is submitted
    - `settings` object, nullable
  - `private_issue_ignored_with_valid_secret` object
    - `is_active` boolean — Indicates whether we should send a mail whenever an incident is ignored with a valid secret
    - `settings` object, nullable
  - `health_checks` object
    - `is_active` boolean — Indicates whether we should send a mail when a health check is triggered
    - `settings` object, nullable
  - `team_updates` object
    - `is_active` boolean — Indicates whether we should send an email whenever there are updates for a team
    - `settings` object, nullable
  - `historical_scan_completion` object
    - `is_active` boolean — Indicates whether we should send an email whenever an historical scan is completed
    - `settings` object, nullable

## Response `200`

Member notification settings

- object
  - `private_issue_realtime` object
    - `is_active` boolean — Indicates whether we should send a mail for new internal incidents
    - `settings` object
      - `vcs_author_only` boolean — Indicates whether we should send a mail for new internal incidents
      - `issue_type` 'all_issues' | 'vcs_only' | 'ods_only' — Indicates whether we should send a mail for incidents coming from a VCS or an Other Data Source
  - `weekly_recap` object
    - `is_active` boolean — Indicates whether we should send a mail for the workspace's weekly recap
    - `settings` object, nullable
  - `private_issue_access` object
    - `is_active` boolean — Indicates whether we should send a mail when the member gets access to an incident
    - `settings` object, nullable
  - `private_issue_feedback_submitted` object
    - `is_active` boolean — Indicates whether we should send a mail whenever a feedback is submitted
    - `settings` object, nullable
  - `private_issue_ignored_with_valid_secret` object
    - `is_active` boolean — Indicates whether we should send a mail whenever an incident is ignored with a valid secret
    - `settings` object, nullable
  - `health_checks` object
    - `is_active` boolean — Indicates whether we should send a mail when a health check is triggered
    - `settings` object, nullable
  - `team_updates` object
    - `is_active` boolean — Indicates whether we should send an email whenever there are updates for a team
    - `settings` object, nullable
  - `historical_scan_completion` object
    - `is_active` boolean — Indicates whether we should send an email whenever an historical scan is completed
    - `settings` object, nullable

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — Forbidden Call
- `404` — Member not found
- `503` — API under maintenance

---

[API](https://skmtc.net/gitguardian/apis/gitguardian-api.md) · [All operations](https://skmtc.net/gitguardian/apis/gitguardian-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitguardian/gitguardian-api/revisions/511b067cdcb1/schema)
