---
title: "Edit an account's settings (e.g. tokens, URLs, settlement thresholds). This should not be confused with the administrator-only PUT /accounts/:username endpoint which allows changing any user parameter."
method: PUT
path: "/accounts/{username}/settings"
tags: ["admins", "users"]
---

# Edit an account's settings (e.g. tokens, URLs, settlement thresholds). This should not be confused with the administrator-only PUT /accounts/:username endpoint which allows changing any user parameter.

`PUT /accounts/{username}/settings`

## 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

- AccountSettings
  - `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
  - `settle_threshold` integer
  - `settle_to` integer

---

[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)
