users

Update a user

[Protected by the profile_edit scope] This endpoint is used to update user profile data. You cannot change authentication information like email or password.

put/users/{id}

Request

  • Base URL: https://api.linxo.com/v2
  • URL: https://api.linxo.com/v2/users/{id}
  • Auth: OAuth (defined in the document in a form this page cannot read)

Path parameters

idstring required

ID of the user to update

Headers

Authorizationstring

Provided Bearer token following the format: 'Bearer xxxxxxxxx'

Request body

idstring

The unique user identifier. Optional as the id taken into account is the path parameter

first_namestring

The first name of the user

last_namestring

The last name of the user

gender'MALE' | 'FEMALE'

The gender of the user

postcodestring

The postcode of the user. DEPRECATED : Now located under the address field !

birthdatestring date

Date of the user's birth as UTC timestamp in seconds

professionstring

The profession of the user

marital_status'SINGLE' | 'MARRIED'

The marital status of the user

residence'OWNER' | 'SINGLE_RENTER' | 'MULTIPLE_RENTER' | 'OTHER'

The residential situation of the user

citystring

The city of the user. DEPRECATED : Now located under the address field !

city_of_birthstring

User’s city of birth

country_of_birthstring

User’s country of birth

email_verifiedboolean

The email's verification state for the user

Response

User successfully updated

Changes

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