This endpoint allows you to create a new user or update an existing one. The operation is idempotent - if a user with the specified ID already exists, the request will update the user’s attributes. If the user doesn’t exist, a new user will be created.
A map of user attributes to update. You can include any custom attributes. Existing attributes not included in the request will remain unchanged. See Attributes for details.
An array of company objects to associate with the user. Each company object must contain an ID and can include additional attributes. This is the recommended approach when you only need to establish company associations without additional relationship attributes.
An array of membership objects that define the relationship between a user and a company. Use this when you need to specify attributes that describe the user’s relationship with each company. Each membership object must include a company object with at least its ID.
A map of attributes that describe the user’s relationship with the company. You can include any custom attributes to define the nature of this relationship.