Page tree
Skip to end of metadata
Go to start of metadata

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

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

Example response

HTTP 204
  • No labels