---
title: "Update Subaccount"
method: POST
path: "/subaccounts/updateSubaccount"
tags: ["Subaccount API"]
---

# Update Subaccount

`POST /subaccounts/updateSubaccount`

Update subaccount credentials or credit mode.

## Headers

- `api_key` string, required

## Request body

- object
  - `username` string, required — Add the username of the subaccount you want to update.
  - `new_email` string — Add the new email address to replace the existing subaccount email.
  - `new_password` string — Add a new password for the subaccount login.
  - `confirm_password` string — Re-enter the new password to confirm it matches.
  - `credit_type` string — Choose the new credit mode — unlimited or one_time_credit.

## Response `200`

Subaccount updated successfully

---

[API](https://skmtc.net/netcorecloud/apis/email-api-v6.md) · [All operations](https://skmtc.net/netcorecloud/apis/email-api-v6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netcorecloud/email-api-v6/versions/73f83bc2eff8/schema)
