---
title: "Update a sub-account community associated with a user."
method: POST
path: "/v0.2.4/sub-account/community/update"
tags: ["SubAccount"]
---

# Update a sub-account community associated with a user.

`POST /v0.2.4/sub-account/community/update`

## Request body

- object
  - `id` string, required — SubAccount ID.
  - `community` object, required
    - `communityID` integer
    - `membershipID` string
    - `memberName` string

## Response `200`

Success.

- object
  - `status` string
  - `message` string
  - `data` object

## Other responses

- `400` — Validation error in the request.
- `401` — Access to this resource is not available for unauthenticated users.
- `403` — Access to this resource is forbidden.
- `404` — Resource not found.
- `500` — Indicates an internal server error.

---

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