---
title: "Update Sub-Account"
method: PUT
path: "/poweredby/account/update/{subAccountId}"
tags: ["Account"]
---

# Update Sub-Account

`PUT /poweredby/account/update/{subAccountId}`

Update Sub-Account updates a sub-account within the parent account. Include only the fields you want to change in the request body.

## Path parameters

- `subAccountId` string, required

## Request body

- UpdateAccountRequest
  - `externalId` string, nullable — (Optional) The new external Id for the sub-account.
  - `accountName` string, nullable — (Optional) The new display name for the sub-account.

## Response `200`

OK

- AccountInfo
  - `id` string, required — The internal Connect AI account Id.
  - `externalId` string, required — The Connect AI Embed external account identifier.
  - `accountName` string, nullable — The display name of the account.
  - `created` string, date-time, required — The time this account was created.

---

[API](https://skmtc.dev/cdata/apis/cdata-connect-ai-rest-api-embedded.md) · [All operations](https://skmtc.dev/cdata/apis/cdata-connect-ai-rest-api-embedded/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cdata/cdata-connect-ai-rest-api-embedded/revisions/c13133ad66c0/schema)
