PATCH
/
v2
/
user
/
{user_id}
/
info
curl --request PATCH \
     --url {{BASE_URL}}/v2/user/{user_id}/info \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>' \
     --header 'Content-Type: application/json' \
     --data '
{
  "first_name": "John",
  "last_name": "Doe", 
  "email": "john@email.com", 
  "phone_number":"+1123123123",
  "gender": "Male", 
  "dob": "1999-01-01", 
  "address": {
	  "first_line": "Some Street", 
	  "second_line": null,
    "zip_code": "85004",
    "state": "AZ",
    "city": "Phoenix",
  }
}
'
{
  "first_name": "John",
  "last_name": "Doe", 
  "email": "john@email.com", 
  "phone_number":"+1123123123",
  "gender": "Male", 
  "dob": "1999-01-01", 
  "address": {
	  "first_line": "Some Street", 
	  "second_line": null,
    "zip_code": "85004",
    "state": "AZ",
    "city": "Phoenix",
  }
}

This feature is in closed beta.

Interested in this feature? Get in touch with your Customer Success Manager.

curl --request PATCH \
     --url {{BASE_URL}}/v2/user/{user_id}/info \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>' \
     --header 'Content-Type: application/json' \
     --data '
{
  "first_name": "John",
  "last_name": "Doe", 
  "email": "john@email.com", 
  "phone_number":"+1123123123",
  "gender": "Male", 
  "dob": "1999-01-01", 
  "address": {
	  "first_line": "Some Street", 
	  "second_line": null,
    "zip_code": "85004",
    "state": "AZ",
    "city": "Phoenix",
  }
}
'
{
  "first_name": "John",
  "last_name": "Doe", 
  "email": "john@email.com", 
  "phone_number":"+1123123123",
  "gender": "Male", 
  "dob": "1999-01-01", 
  "address": {
	  "first_line": "Some Street", 
	  "second_line": null,
    "zip_code": "85004",
    "state": "AZ",
    "city": "Phoenix",
  }
}

Authorizations

x-vital-api-key
string
header
required

Vital Team API Key

Path Parameters

user_id
string
required

Body

application/json

Response

200
application/json
Successful Response

The response is of type object.