Dev logo
API Walkthrough
Resources

Update Account

Find account by ID then update basic profile or custom profile elements. Choice-type elements must be updated by response id (not response value).

Request

Parameters

Field Label Type Description Required?
key string a valid API key required
id integer account ID required
first_name string first name optional
last_name string last name optional
middle_initial string middle initial optional
email string email address optional
phone_number string phone number optional
address string address optional
city string city optional
state string state optional
zip string zip optional
country string country code (ISO 3166-1 alpha-2) optional
custom_profile_response string Use the format profile_responses[elementID]=value to update a custom profile field's value. optional

Returns

Field Label Type Description
id integer account ID
username string username of an account
first_name string first name
last_name string last name
middle_initial string middle initial
phone_number string phone number
city string city
state string state
country string country code (ISO 3166-1 alpha-2)
last_login datetime last login date and time (YYYY-MM-DDTHH:MM:SSZ)
about_me string bio
address string address
zip string zip
email string email address
profile_responses hash custom profile data
classifications array of integers List of ids of classifications for which user is a member
pic_url string URL of account's profile photo
org_ids array of integers List of ids of organizations for which user is a member

Sample Request

Sample Return