---
title: "Update an account"
method: PUT
path: "/accounts/{id}"
---

# Update an account

`PUT /accounts/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `adminRoleArn` string — ARN for an IAM role within this AWS account. The DCE master account will assume this IAM role to execute operations within this AWS account. This IAM role is configured by the client, and must be configured with [a Trust Relationship with the DCE master account.](/https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_cross-account-with-roles.html)
  - `metadata` object — Arbitrary metadata to attach to the account object.

## Other responses

- `200` — unresolved $ref
- `403` — Forbidden

## Changes

> 12 revisions in range; 3 could not be searched.

- **2019-11-15** `1f26c64a9bfd` — 1 info
  - endpoint added
- **2019-10-21** `eed5055f8eb6` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/optum/apis/namespace/changes/accounts/:id/put.md)

---

[API](https://skmtc.dev/optum/apis/namespace.md) · [All operations](https://skmtc.dev/optum/apis/namespace/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/optum/namespace/revisions/11d73002ea62/schema)
