Skip to main content

Update an existing user

PUT 

/users/:id

Update an existing user

Request

Path Parameters

    id uuidrequired

    Unique identifier of the user to update

Header Parameters

    sub-account stringrequired

    Sub-account identifier required for all requests

Body

required

    first_name string

    First name of the user.

    last_name string

    Last name of the user.

    email string

    Email address of the user.

    phone string

    Phone number of the user.

    birth_date string

    Birth date of the user.

    birth_city string

    Birth city of the user.

    birth_country string

    Birth country of the user.

Responses

Updated user details

Schema

    user_id stringrequired

    Unique identifier of the user

    user_last_modified date-time

    Time when the user profile was last modified

    user_first_name string

    First name of the user

    user_last_name string

    Last name of the user

    user_birth_date date

    Birth date of the user

    user_birth_city string

    Birth city of the user

    user_birth_country string

    Birth country of the user

    user_phone string

    Phone number of the user

    user_email stringrequired

    Email address of the user

    user_role stringrequired

    Possible values: [admin, user]

    Role of the user

    creator_id stringrequired

    Identifier of the user who created this user profile

Loading...