/users

Update private data

Changed on

Updates private user data for the caller. | (UserPrivateDataClientUpdate1) -> (UserPrivateData1)

patch/users/user_private_data/v1

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/users/user_private_data/v1
  • Auth
    HTTP bearer

Request body

primary_email_addressstring email nullable
phone_numberstring phone nullable
time_zonestring nullable

IANA time zone name (e.g. America/New_York).

primary_email_address__set_to_Noneboolean
phone_number__set_to_Noneboolean
time_zone__set_to_Noneboolean

Example request

{
  "time_zone": "America/New_York"
}

Response

Successful Response

schema_version1 required
created_at_timestampstring date-time required
user_idstring required

Must be a string starting with user_

namestring nullable
primary_email_addressstring email nullable
phone_numberstring phone nullable
time_zonestring nullable

IANA time zone name (e.g. America/New_York).

_idstring required

Example response

{
  "time_zone": "America/New_York"
}

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status