/user/replaceProfile
- 1 Minute to read
- Print
- DarkLight
/user/replaceProfile
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/user/replaceProfile
Replaces all attribute values for a specific user. All attribute values that are transmitted with the method are added and replace any existing values.
Any currently existing attribute values that are not found in the API call are deleted (except for Member attributes).
Request body example:
[
{"name" : "user.firstname", "value" : "John"},
{"name" : "user.lastname", "value" : "Smith"}
]
Request body example - erase mobile number:
[
{"name" : "user.MobileNumber", "value" : null}
]
Query parameters
userId
integer (int64)
ID of the user
Body parameters
Array of object
object
name
string
value
string
Responses
204
400
404
Not Found
Was this article helpful?