Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

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).

Available from

v2

Request path

POST [REST URL]/user/replaceProfile

Query Parameters

Parameter

Type

Description

userId

Long

ID of the user

Request Body Type

list of Attribute

Example body

Code Block
[
  {"name" : "user.firstname", "value" : "John"},
  {"name" : "user.lastname", "value" : "Smith"},
  {"name": "user.ISOCountryCode", "value": "FR"}    
]

Example response

Code Block
HTTP 204