Change user details

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

put/user

Request

Headers

Media type of the request body: application/json.

Request body

passwordstring

New password of the user.

last_namestring

New last name of the user.

first_namestring

New first name of the user.

logout_allstring

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_passwordstring

if "password" parameter is added to the body, then this one is required

Response

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.

idstring

ID of the user.

last_namestring

Last name of the user.

first_namestring

First name of the user.

Changes

No recorded changes to this operation across all 1 revision of this API.