Manage workspace users
manage_project_usersAdd or remove users from a Gumloop workspace as an organization admin. Confirm each action to avoid unintended account changes or credit spend.
Instructions
This endpoint allows organization administrators to add or remove users from a workspace. Explicit confirmation is required for this exact account operation. Runs can spend credits or trigger downstream actions; never resubmit unknown outcomes automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | The action to perform - either 'add' or 'remove' a user. | |
| account | No | Named private Gumloop account; selects private credentials and user/team identity. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete JSON request body instead of body flags. Preserves current endpoint fields and values. | |
| user_id | No | Your user id -- you must be an organization admin to manage workspace users. | |
| is_admin | No | When adding a user, specify whether they should have admin privileges (default is false). | |
| user_email | No | The email address of the target user to add or remove. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. | |
| workspace_id | No | The ID of the workspace to manage users for. | |
| organization_id | No | The ID of the organization that the workspace belongs to. |