Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Created September 1, 2015 19:17
Show Gist options
  • Save boomtrain-support/c061ad8ff3be36dff376 to your computer and use it in GitHub Desktop.
Save boomtrain-support/c061ad8ff3be36dff376 to your computer and use it in GitHub Desktop.
PUT /person - Update an existing User using cURL
curl -u 'user:password'
-H 'x-app-id: abc123'
-X PUT
-H 'Content-Type: application/json'
-d '{
"bsin":"{Existing User's BSIN}",
"email":"{OR Existing User's Email}",
"app_member_id":"{OR Your Unique ID for the Existing User}",
"firstName":"{First Name}",
"lastName":"{Last Name}",
"attributes":[
{
"op":"replace",
"name":"{Attribute 1}",
"value":"{Value}"
},
{
"op":"delete",
"name":"{Attribute 2}",
"value":"{value}"
},
...
]
}'
'https://api.boomtrain.com/persons'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment