---
title: "Edit an account's information. This is an administrator-only call which allows modification of any field of the account, not to be confused with the /accounts/:username/settings endpoint which allows a user to edit some of their authorization related data."
method: PUT
path: "/accounts/{username}"
tags: ["admins"]
---

# Edit an account's information. This is an administrator-only call which allows modification of any field of the account, not to be confused with the /accounts/:username/settings endpoint which allows a user to edit some of their authorization related data.

`PUT /accounts/{username}`

## Headers

- `authorization` string, required

## Request body

- AccountDetails
  - `username` string, required
  - `asset_scale` integer, required
  - `asset_code` string, required
  - `max_packet_amount` integer
  - `min_balance` integer
  - `ilp_over_http_url` string
  - `ilp_over_http_incoming_token` string
  - `ilp_over_http_outgoing_token` string
  - `ilp_over_btp_url` string
  - `ilp_over_btp_incoming_token` string
  - `ilp_over_btp_outgoing_token` string
  - `settlement_engine_url` string
  - `settle_threshold` integer
  - `settle_to` integer
  - `routing_relation` string
  - `round_trip_time` integer
  - `amount_per_minute_limit` integer
  - `packets_per_minute_limit` integer

## Response `200`

The updated account's information

- Account
  - `id` string, uuid, required
  - `username` string, required
  - `asset_scale` integer, required
  - `asset_code` string, required
  - `max_packet_amount` integer, required
  - `min_balance` integer, required
  - `ilp_over_http_url` string, required
  - `ilp_over_http_incoming_token` string, required
  - `ilp_over_http_outgoing_token` string, required
  - `ilp_over_btp_url` string, required
  - `ilp_over_btp_incoming_token` string, required
  - `ilp_over_btp_outgoing_token` string, required
  - `settlement_engine_url` string, required
  - `settle_threshold` integer, required
  - `settle_to` integer, required
  - `routing_relation` string, required
  - `round_trip_time` integer, required
  - `amount_per_minute_limit` integer, required
  - `packets_per_minute_limit` integer, required

---

[API](https://skmtc.dev/interledger/apis/interledger-rs-api-specification.md) · [All operations](https://skmtc.dev/interledger/apis/interledger-rs-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/interledger/interledger-rs-api-specification/revisions/a19ff2cb681a/schema)
