---
title: "Edit current account info"
method: PUT
path: "/api/v2/user"
tags: ["User"]
---

# Edit current account info

`PUT /api/v2/user`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Account/updateCurrentUser" target="_blank">Try in sandbox</a><br>

## Request body

- object
  - `username` string
  - `firstName` string — Account first name.
  - `lastName` string — Account last name.
  - `email` string
  - `phone` string
  - `company` string — Account company name.
  - `timezone` integer — The timezome internal ID. See [Get timezones](https://docs.textmagic.com/#operation/getTimezones).

## Response `201`

Updated with success.

- UpdateCurrentUserResponse
  - `username` string — Username.
  - `firstName` string — Account first name.
  - `lastName` string — Account last name.
  - `email` string — User email address.
  - `phone` string, nullable
  - `company` string, nullable — Account company name.
  - `timezone` integer — Internal timezone ID. See [Get timezones](https://docs.textmagic.com/#operation/getTimezones).

## Other responses

- `400` — Bad request.
- `401` — Unauthorized request.

---

[API](https://skmtc.net/textmagic/apis/textmagic-api.md) · [All operations](https://skmtc.net/textmagic/apis/textmagic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textmagic/textmagic-api/revisions/3e4029d19684/schema)
