---
title: "Update a subaccount"
method: POST
path: "/subaccount/edit"
tags: ["SUBACCOUNTS"]
---

# Update a subaccount

`POST /subaccount/edit`

Changes the details on an existing subaccount

## Request body

- object
  - `id` string, required — The id of an existing subaccount
  - `fullname` string — If provided, will set to the new full name for the subaccount
  - `limit` integer — If provided, will set to the new limit for the subaccount
  - `dedicated_ip` boolean — If provided, will set to the new dedicated IP address for the subaccount (If limit is greater than 100,000)
  - `archiving` boolean — Choose whether the subaccount is allowed to enable archiving. You still need to turn on archiving for individual senders within the subaccount.
  - `enforce_2fa` boolean — Enforce team members of this subaccount to use 2FA.
  - `enable_sms` boolean — Enable SMS messaging for the subaccount. Additional charges apply.
  - `sms_limit` integer — Your subaccount will be able to send up to this monthly limit of SMS messages. Their sending will also be limited by the master account's overall monthly limit.

## Response `200`

Subaccount updated

- object
  - `request_id` string, required
  - `data` object, required
    - `name` string, required
    - `id` string, required
    - `plan_size` integer, required
    - `plan_used` integer, required
    - `plan_remaining` integer, required
    - `state` string, required
    - `dedicated_ip` boolean, required
    - `archiving` boolean, required
    - `enforce_2fa` boolean, required
    - `sms_enabled` boolean, required
    - `sms_limit` integer, required

## 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)
