---
title: "Change user details"
method: PUT
path: "/user"
---

# Change user details

`PUT /user`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/user`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/user/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows API users to update the user's first and last name.

## Request body

- object
  - `password` string: New password of the user.
  - `last_name` string: New last name of the user.
  - `first_name` string: New first name of the user.
  - `logout_all` string: if "true" - all user tokens with "scope =*" expire if "false" - all user tokens except current one are expired Note: parameter must have string format. Default value - "true"
  - `old_password` string: if "password" parameter is added to the body, then this one is required

## Response `200`

Successful response. Returns the user ID with the current first and last name. A name that contains only a space is saved as an empty string. Names longer than 64 characters are cut to 64 characters.

- object
  - `id` string: ID of the user.
  - `last_name` string: Last name of the user.
  - `first_name` string: First name of the user.

## Other responses

- `400`: * Too long first name (first name more than 64 characters). * Incorrect old password. * The value of "old_password" is a space. * New password is empty. * The value of "password" is a space. * User password which doesn't respect the rules added to "password_creation_rules" if there are any.
- `500`: The user can't be updated right now because of a temporary server error. Try again later.

---

[API](https://skmtc.dev/signnow/apis/signnow-api.md) - [All operations](https://skmtc.dev/signnow/apis/signnow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signnow/apis/signnow-api/revisions/1c9c30a6142b?raw)
