Update User
update_userUpdate a user of a tenant, addressed by EMAIL. Only the fields you pass are changed. Arguments: tenantName (tenant NAME), email (the user), role (a role KEY from list_roles, e.g. "ADMIN"), enabled (false disables sign-in without deleting the account — prefer this over remove_user when access should be revocable), firstName, lastName. Fails with TENANT_NOT_FOUND / TENANT_AMBIGUOUS / USER_NOT_FOUND / USER_AMBIGUOUS without changing anything. Before writing app code that consumes this, call get_integration_guide with topic=team and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| role | No | Role KEY from list_roles, e.g. "ADMIN". | |
| Yes | Email address of the user to change, as list_users shows it. | ||
| enabled | No | false disables the user without deleting them. | |
| lastName | No | New last name. | |
| firstName | No | New first name. | |
| tenantName | Yes | Tenant NAME from list_tenants (a tenant id is accepted as a fallback). |