/user/replaceProfile
  • 1 Minute to read
  • Dark
    Light

/user/replaceProfile

  • Dark
    Light

Article summary

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?