---
title: "Update approved email domains"
method: PUT
path: "/accounts/{accountId}/email-domains"
tags: ["Email domains"]
---

# Update approved email domains

`PUT /accounts/{accountId}/email-domains`

Updates the list of approved email domains for a given account.

## Path parameters

- `accountId` string, required — The ID of the account to work with.

## Request body

- object
  - `domains` string[], required — Array of approved email domains.
  - `sessionId` string
  - `mfaCode` string
  - `customerIp` string

## Response `200`

OK

- object
  - `limit` integer — The maximum number of results to return.
  - `offset` integer — The number of items to skip before returning results.
  - `count` integer, required — The total amount of records matching the querying when "limit" is ignored.
  - `rows` object[], required
    - `id` string, uuid, required — The ID of the email domain.
    - `accountId` string, required — The ID of the account to work with.
    - `name` string, required — The email domain.
    - `createdAt` string, date-time, required — The date the Resource was initially created. ISO 8601 format without milliseconds.
    - `updatedAt` string, date-time, required — The date the Resource was last modified. ISO 8601 format without milliseconds.

---

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