---
title: "Edit subaccount access"
method: POST
path: "/domain/subaccount_access"
tags: ["SENDER DOMAINS"]
---

# Edit subaccount access

`POST /domain/subaccount_access`

Allow subaccounts to send from verified sender domains on the master account.

## Request body

- object
  - `domain` string, required — The sender domain to edit subaccount access for
  - `subaccounts` unknown[], required — A list of subaccount_ids to be given access. ID's can be found by querying <code>/subaccounts/search</code>
    - unknown
  - `future_subaccounts` boolean — If set to true, will automatically add any new subaccounts to the access list

## Response `200`

Subaccount access updated

- object
  - `domain` string — The sender domain that was modified.
  - `subaccounts` unknown[] — A list of subaccount IDs that were given access the sender domain.
    - unknown
  - `future_subaccounts` boolean — If true, any new subaccounts added will automatically be given access.

## Other responses

- `400` — 400

---

[API](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4.md) · [All operations](https://skmtc.net/smtp2go/apis/smtp2go-api-v3-0-4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smtp2go/smtp2go-api-v3-0-4/versions/1ba6b25eebb9/schema)
