Set workspace member role
workspace_member_set_roleChange a member's role, membership (internal or external), or both; what you omit is kept. member is the row id from workspace_member_list (it stands alone), or an account id, alias or email address with workspaceId. Workspace administrators only. Downgrades immediately reconcile task holds and browser views.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters. | |
| role | No | viewer or editor; kept when omitted. | |
| member | Yes | The member: its row id (id from the member list; it stands alone), or an account id, alias or email address with workspaceId (the person's primary-account row, or the row an add or invite by the address made). | |
| membership | No | internal or external; kept when omitted. | |
| workspaceId | No | The workspace, when member is an account id, alias or email; optional beside a row id (the row must be in it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member | Yes |