# Workspaces and members

Product API scopes resources and permissions to a workspace. After listing workspaces, select one returned ID and send it with `X-Workspace-ID` for workspace-scoped calls.

| Endpoint | Purpose |
| --- | --- |
| `GET /workspaces` | List workspaces visible to the current account. |
| `POST /user/info` | Read the current member's role and capability snapshot. |
| `POST /user/list` | List workspace members with pagination and filters. |
| `POST /user/create` | Invite a member. |
| `POST /user/update_role_list` | Update member roles and the default role. |
| `POST /user/update_status` | Enable or disable a member. |
| `POST /user/delete` | Remove a member from the workspace. |

Before a member write operation, read the latest member state and save the member ID returned by the service. Removing a workspace member removes that workspace relationship; it does not delete the underlying user account.
