---
title: "Enables/disables email notifications for gateway account"
method: PATCH
path: "/v1/api/accounts/{accountId}/email-notification"
tags: ["Gateway accounts"]
---

# Enables/disables email notifications for gateway account

`PATCH /v1/api/accounts/{accountId}/email-notification`

## Request

- The document declares no server URL.
- Auth: none declared

Allowed paths <br> - /payment_confirmed/enabled (values true/false) <br> - /refund_issued/enabled (values true/false) <br> - /payment_confirmed/template_body<br> - /refund_issued/template_body

## Path parameters

- `accountId` integer, required

## Request body

- string

## Response `200`

OK

## Other responses

- `404`: Not found
- `422`: Unprocessable Content - invalid or missing mandatory fields

---

[API](https://skmtc.dev/government-digital-service/apis/connector-api.md) - [All operations](https://skmtc.dev/government-digital-service/apis/connector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/government-digital-service/apis/connector-api/revisions/7f294e492d3c?raw)
