upsertUser
Update account information This allows you to update the account information of a user.
This endpoint can be used with either a user token or a client token.
When using a user token, the userID can be either the Sensibill specific ID or \"me\", which will point to the user object for the user who is authenticated with the access token.
In order to use this endpoint with a client token, you must have this policy explicitly enabled on your account. It will be disabled by default. Please contact the Sensibill team if you need to have this policy enabled on your account. When using a client token, you are only allowed to change the 'status' field on a user's account. This is provided so that Clients can disable and re-enable user accounts without requiring them to log in. Responses:
200: Success. The information for the user account was updated.
400: Bad Request. This will occur if you omit a required parameter, or if you provide an invalid value for a required parameter.
401: Unauthorized. This will occur if you do not supply an access-token to this endpoint, or if you provide an expired or invalid access token.
403: Forbidden. This will occur if the access-token you have provided is not authorized to update the information for this user. This can also occur if you attempt to use a client token with this endpoint.
404: Not Found. The userID you have provided is invalid. It should be either \"me\" or a valid userID.
Return
Parameters
A unique ID that identifies this user in the Sensibill system. It can be 'me' to reference the user associated with the access token.
Update a user