Updates an existing user in the database.
Only available for self-hosted Formbricks.
Use your Formbricks x-api-key to authenticate.
The ID of the organization
The user to update
Whether the user is active
true
1The role of the user in the organization
owner, manager, member "member"
The list of teams the user is a member of
["team1", "team2"]User updated successfully.
The ID of the user
The date and time the user was created
"2021-01-01T00:00:00.000Z"
The date and time the user was last updated
"2021-01-01T00:00:00.000Z"
The date and time the user last logged in
"2021-01-01T00:00:00.000Z"
Whether the user is active
true
The name of the user
1"John Doe"
The role of the user in the organization
owner, manager, member "member"
The list of teams the user is a member of
["team1", "team2"]