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

# PUT /accounts/{id}

`PUT /accounts/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `friendlyName` string
  - `status` 'ACTIVE' | 'SUSPENDED' | 'CLOSED' — `ACTIVE`, `SUSPENDED`, `CLOSED` Caution: Closing an Account is permanent and closed accounts cannot be activated again. Any Payins into closed accounts are automatically rejected.
  - `primary` 'true' | 'false' — Easily set a virtual IBAN as the primary account or revert it to a non-primary status.

## Response `200`

---

[API](https://skmtc.net/openpayd/apis/openpayd-authorization.md) · [All operations](https://skmtc.net/openpayd/apis/openpayd-authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openpayd/openpayd-authorization/versions/354ac572abda/schema)
