---
title: "Update a managed account"
method: PATCH
path: "/managed_accounts/{id}"
tags: ["Managed Accounts"]
---

# Update a managed account

`PATCH /managed_accounts/{id}`

Updates the specified managed account's attributes and returns the updated account.

## Path parameters

- `id` string, required

## Request body

- UpdateManagedAccountRequest
  - `managed_account_allow_custom_pricing` boolean — Boolean value that indicates if the managed account is able to have custom pricing set for it or not. If false, uses the pricing of the manager account. Defaults to false. This value may be changed, but there may be time lag between when the value is changed and pricing changes take effect.

## Response `200`

Successful response with information about a single managed account.

- object
  - `data` ManagedAccount
    - `api_key` string, required — The managed account's V2 API access key
    - `api_token` string, required — The managed account's V1 API token
    - `api_user` string, required — The manager account's email, which serves as the V1 API user identifier
    - `balance` ManagedAccountBalance
      - `available_credit` string — Available amount to spend (balance + credit limit)
      - `balance` string — The account's current balance.
      - `credit_limit` string — The account's credit limit.
      - `currency` string — The ISO 4217 currency identifier.
      - `record_type` 'balance' — Identifies the type of the resource.
    - `created_at` string, required — ISO 8601 formatted date indicating when the resource was created.
    - `email` string, email, required — The managed account's email.
    - `id` string, uuid, required — Uniquely identifies the managed account.
    - `managed_account_allow_custom_pricing` boolean — Boolean value that indicates if the managed account is able to have custom pricing set for it or not. If false, uses the pricing of the manager account. Defaults to false. There may be time lag between when the value is changed and pricing changes take effect.
    - `manager_account_id` string, required — The ID of the manager account associated with the managed account.
    - `organization_name` string — The organization the managed account is associated with.
    - `record_type` 'managed_account', required — Identifies the type of the resource.
    - `rollup_billing` boolean — Boolean value that indicates if the billing information and charges to the managed account "roll up" to the manager account. If true, the managed account will not have its own balance and will use the shared balance with the manager account. This value cannot be changed after account creation without going through Telnyx support as changes require manual updates to the account ledger. Defaults to false.
    - `updated_at` string, required — ISO 8601 formatted date indicating when the resource was updated.

## Other responses

- `401` — Unauthenticated response. Happens when the current user cannot be authenticated.
- `404` — Resource not found
- `422` — Unprocessable entity. Check the 'detail' field in response for details.

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/ec31f78cf002/schema)
