---
title: "UpdateAccount"
method: PUT
path: "/v1/account/"
tags: ["account"]
---

# UpdateAccount

`PUT /v1/account/`

Update an account.

## Request body

- DtoUpdateAccount
  - `accountId` integer
  - `accountUsername` string
  - `isSuperAdmin` boolean
  - `password` string
  - `shouldUpdateApiKey` boolean

## Response `200`

'AccountUpdated' message or new API key in string format

- object

---

[API](https://skmtc.net/goinfinite/apis/osapi.md) · [All operations](https://skmtc.net/goinfinite/apis/osapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goinfinite/osapi/revisions/7320a5d8ef9e/schema)
