Skip to content
Build with Mammoth › CLI reference: open the docs menu

mammoth workspace

Generated from mammoth-cli 2.4.2, released 2026-11-02: mammoth schema list, mammoth capability list and the CLI's own --help. Do not edit by hand; run npm run docs:capabilities.

Manage workspace settings and members. 33 commands.

Every command also takes the global flags (--output, --yes, --confirm, --dry-run, --input, --profile, ...), which are not repeated below. --input takes a JSON or YAML document of the input fields; mammoth schema get COMMAND_ID prints a command's full input schema.

Confirmation. Commands marked --yes --confirm TARGET or --yes always need those flags, even at a terminal: they never prompt. Commands marked "--yes or prompt" ask at an interactive terminal (table output, no --no-input) and otherwise need --yes. --dry-run skips confirmation and sends nothing.

Summary

CommandWhat it doesEffectConfirmation
workspace accept-inviteAccept a pending workspace invite using a token from '--input'.Benign mutation—
workspace app-usageReport app usage stats for the current workspace.Read—
workspace check-expressionAsk the AI assistant to check an expression. Payload comes from '--input'.Benign mutation—
workspace createCreate a new workspace. Payload comes from the 'body' input field.Benign mutation—
workspace currentShow the workspace this token acts in, and the project it is fenced to.Read—
workspace deleteDelete a workspace. High-impact: '--yes --confirm WORKSPACE_ID'.High impact--yes --confirm TARGET
workspace getGet one workspace by id (positional), or the client's own workspace.Read—
workspace homeRead the Home summary: usage snapshot, health issues and suggestions.Read—
workspace listList accessible workspaces.Read—
workspace llm-taskSubmit a unified LLM task. 'task_type' and 'params' come from '--input'.Benign mutation—
workspace reactivateReactivate a deactivated workspace. High-impact: '--yes --confirm WORKSPACE_ID'.High impact--yes --confirm TARGET
workspace storage-breakdownReport a breakdown of storage usage for the workspace.Read—
workspace updatePatch workspace settings. High-impact: '--yes --confirm WORKSPACE_ID'.High impact--yes --confirm TARGET
workspace export-hosts getRead the hosts this workspace's custom export destinations may send to.Read—
workspace export-hosts setSet the hosts custom export destinations may send to. High-impact: always needs '--yes'.High impact--yes
workspace invite deleteDelete pending invites and free their seats. Prompt or '--yes' required.Destructive--yes or prompt
workspace invite listList pending invites with their invite ids; 'project_id' narrows to one project.Read—
workspace invite resendSend the invitation email again. 'invite_ids' from '--input'.Benign mutation—
workspace invite revokeRevoke pending invites. Prompt or '--yes' required.Destructive--yes or prompt
workspace invite update-roleChange the role a pending invite grants. '--yes' required.High impact--yes
workspace oauth-client createCreate an OAuth client through the generated path, revealing its secret.High impact--yes
workspace oauth-client deleteDelete an OAuth client registration; its grants stop working.High impact--yes --confirm TARGET
workspace oauth-client listList the workspace's registered OAuth clients (no secrets).Read—
workspace oauth-client revoke-grantRevoke every grant to an OAuth client; users must authorise it again.High impact--yes --confirm TARGET
workspace segment listList split-test segments for the workspace.Read—
workspace segment updateUpdate split-test segments. 'patch' comes from '--input'.Benign mutation—
workspace user addInvite one or more users to the workspace. High-impact: '--yes'.Benign mutation--yes
workspace user getGet one workspace user by id (positional), in the client's own workspace.Read—
workspace user listList users in the client's own workspace, with their roles and status.Read—
workspace user removeRemove a single user from the workspace. Prompt or '--yes' required.Destructive--yes or prompt
workspace user remove-batchRemove several users and/or pending invites. Prompt or '--yes' required.Destructive--yes or prompt
workspace user updateUpdate a user's role. High-impact: '--yes --confirm USER_ID'.High impact--yes --confirm TARGET
workspace user update-batchUpdate workspace users via JSON-patch operations. High-impact: '--yes --confirm WS'.High impact--yes --confirm TARGET

workspace commands

mammoth workspace accept-invite

Accept a pending workspace invite using a token from '--input'.

mammoth workspace accept-invite --input /private/path/request.json
NamePassed asRequiredDefaultTypeNotes
token--input fieldyes—str
  • Effect: Benign mutation, scope workspace · Confirmation: none
  • Id: workspace.accept-invite · Result: WorkspaceAcceptInviteResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.accept_invite, API POST /accept-invite (AcceptInvite)

mammoth workspace app-usage

Report app usage stats for the current workspace.

mammoth workspace app-usage
NamePassed asRequiredDefaultTypeNotes
fields--input fieldno—str
  • Effect: Read, scope workspace · Confirmation: none
  • Id: workspace.app-usage · Result: WorkspaceAppUsageResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.app_usage, API GET /workspaces/{workspace_id}/app-usage (GetAppUsage)

mammoth workspace check-expression

Ask the AI assistant to check an expression. Payload comes from '--input'.

mammoth workspace check-expression --input '{"body": {"intent": "Summarize revenue by region"}}'
NamePassed asRequiredDefaultTypeNotes
body--input fieldyes—dict[str, any]
  • Effect: Benign mutation, scope workspace · Confirmation: none
  • Id: workspace.check-expression · Result: WorkspaceCheckExpressionResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.check_expression, API POST /workspaces/{workspace_id}/ai/check-expression (GenerateCheckExpression)

mammoth workspace create

Create a new workspace. Payload comes from the 'body' input field.

mammoth workspace create --input '{"body": {}}'
NamePassed asRequiredDefaultTypeNotes
body--input fieldyes—dict[str, any]
  • Effect: Benign mutation, scope workspace · Confirmation: none
  • Id: workspace.create · Result: WorkspaceCreateResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.create, API POST /workspaces (CreateWorkspace)

mammoth workspace current

Show the workspace this token acts in, and the project it is fenced to.

mammoth workspace current
  • Effect: Read, scope workspace · Confirmation: none
  • Preconditions: Read-only. The workspace this token acts in, and the server (resource) and project it is fenced to.
  • Id: workspace.current · Result: WorkspaceCurrentResult · Backed by: SDK mammoth.api.workspace.WorkspaceAPI.current, API GET /workspaces/current (GetCurrentWorkspace)

mammoth workspace delete

Delete a workspace. High-impact: '--yes --confirm WORKSPACE_ID'.

mammoth workspace delete 123 --yes --confirm 123
NamePassed asRequiredDefaultTypeNotes
WORKSPACE_IDpositionalno—intID of the workspace to act on; defaults to the client's own workspace.
  • Effect: High impact, scope workspace · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Exact immutable workspace-ID confirmation, not --yes alone.
  • Id: workspace.delete · Result: WorkspaceDeleteResult · Backed by: SDK mammoth.api.workspace.WorkspaceAPI.delete, API DELETE /workspaces/{workspace_id} (DeleteUserWorkspace)

mammoth workspace get

Get one workspace by id (positional), or the client's own workspace.

mammoth workspace get 123
NamePassed asRequiredDefaultTypeNotes
WORKSPACE_IDpositionalno—intID of the workspace to act on; defaults to the client's own workspace.
  • Effect: Read, scope workspace · Confirmation: none
  • Id: workspace.get · Result: WorkspaceGetResult · Backed by: SDK mammoth.api.workspace.WorkspaceAPI.get, API GET /workspaces/{workspace_id} (GetWorkspace)

mammoth workspace home

Read the Home summary: usage snapshot, health issues and suggestions.

mammoth workspace home
  • Effect: Read, scope workspace · Confirmation: none
  • Preconditions: The Home read: usage_summary (storage, plan), health_issues (type, severity, occurrence_count, available_actions) and suggestions. Read-only; not a chat turn.
  • Id: workspace.home · Result: WorkspaceHomeResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.home_summary, API GET /workspaces/{workspace_id}/home (GetHomeSummary)

mammoth workspace list

List accessible workspaces.

mammoth workspace list
NamePassed asRequiredDefaultTypeNotes
limit--input fieldno100int
fields--input fieldnoid,namestr
  • Effect: Read, scope workspace · Confirmation: none · Pages: single_page
  • Id: workspace.list · Result: WorkspaceListResult · Backed by: SDK mammoth.api.workspace.WorkspaceAPI.list, API GET /workspaces (GetWorkspaces)

mammoth workspace llm-task

Submit a unified LLM task. 'task_type' and 'params' come from '--input'.

mammoth workspace llm-task --input '{"task_type": "run_data_retrieval", "params": {"name": "Status"}}'
NamePassed asRequiredDefaultTypeNotes
task_type--input fieldyes—str
params--input fieldyes—dict[str, any]
  • Effect: Benign mutation, scope workspace · Confirmation: none
  • Id: workspace.llm-task · Result: WorkspaceLlmTaskResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.llm_task, API POST /workspaces/{workspace_id}/llm (RunLlmTask)

mammoth workspace reactivate

Reactivate a deactivated workspace. High-impact: '--yes --confirm WORKSPACE_ID'.

mammoth workspace reactivate 123 --yes --confirm 123
NamePassed asRequiredDefaultTypeNotes
WORKSPACE_IDpositionalno—intID of the workspace to act on; defaults to the client's own workspace.
  • Effect: High impact, scope workspace · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Turns a deactivated workspace back on; its users regain access and billing resumes. Needs --yes and --confirm WORKSPACE_ID (the refusal prints it).
  • Id: workspace.reactivate · Result: WorkspaceReactivateResult · Backed by: SDK mammoth.api.workspace.WorkspaceAPI.reactivate, API POST /workspaces/{workspace_id}/reactivate (ReactivateWorkspace)

mammoth workspace storage-breakdown

Report a breakdown of storage usage for the workspace.

mammoth workspace storage-breakdown
NamePassed asRequiredDefaultTypeNotes
limit--input fieldno—int
offset--input fieldno—int
  • Effect: Read, scope workspace · Confirmation: none
  • Preconditions: This is a paginated per-item list of storage-consuming resources (limit/offset); it carries no workspace total and can page through thousands of items. For the workspace's total storage used/allowed, use workspace app-usage instead.
  • Id: workspace.storage-breakdown · Result: WorkspaceStorageBreakdownResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.storage_breakdown, API GET /workspaces/{workspace_id}/storage-breakdown (GetStorageBreakdown)

mammoth workspace update

Patch workspace settings. High-impact: '--yes --confirm WORKSPACE_ID'.

mammoth workspace update 123 --input '{"patches": [{"op": "replace", "path": "name", "value": "Revenue team"}]}' --yes --confirm 123
NamePassed asRequiredDefaultTypeNotes
WORKSPACE_IDpositionalno—intID of the workspace to act on; defaults to the client's own workspace.
patches--input fieldyes—list[WorkspacePatchOp]
  • Effect: High impact, scope workspace · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Patches workspace settings that apply to every member. Read them first (workspace get). Needs --yes and --confirm WORKSPACE_ID.
  • Id: workspace.update · Result: WorkspaceUpdateResult · Backed by: SDK mammoth.api.workspace.WorkspaceAPI.update, API PATCH /workspaces/{workspace_id} (UpdateWorkspace)

workspace export-hosts

mammoth workspace export-hosts get

Read the hosts this workspace's custom export destinations may send to.

mammoth workspace export-hosts get
  • Effect: Read, scope workspace · Confirmation: none
  • Id: workspace.export-hosts.get · Result: WorkspaceExportHostsGetResult · Backed by: SDK mammoth.api.exports.ExportsAPI.export_hosts, API GET /workspaces/{workspace_id}/export-hosts (Read)

mammoth workspace export-hosts set

Set the hosts custom export destinations may send to. High-impact: always needs '--yes'.

mammoth workspace export-hosts set --input '{"restricted": true}' --yes
NamePassed asRequiredDefaultTypeNotes
restricted--input fieldyes—bool
hosts--input fieldno—list[str]
  • Effect: High impact, scope workspace · Confirmation: always --yes, even at a terminal
  • Preconditions: Sets which hosts exports may send data to for the whole workspace. Admins only. Needs --yes.
  • Id: workspace.export-hosts.set · Result: WorkspaceExportHostsSetResult · Backed by: SDK mammoth.api.exports.ExportsAPI.set_export_hosts, API PUT /workspaces/{workspace_id}/export-hosts (Update)

workspace invite

mammoth workspace invite delete

Delete pending invites and free their seats. Prompt or '--yes' required.

mammoth workspace invite delete --input '{"invite_ids": [1]}' --yes
NamePassed asRequiredDefaultTypeNotes
invite_ids--input fieldyes—list[int]
  • Effect: Destructive, scope workspace · Confirmation: --yes, or answer the prompt at an interactive terminal
  • Preconditions: Deletes pending invites for good and frees their seats. Take invite_ids from workspace invite list (a pending invite is not a workspace user; workspace user list never shows it).
  • Id: workspace.invite.delete · Result: WorkspaceInviteDeleteResult

mammoth workspace invite list

List pending invites with their invite ids; 'project_id' narrows to one project.

mammoth workspace invite list
  • Effect: Read, scope workspace · Confirmation: none
  • Preconditions: Lists pending invites with id, email, status, role and invited_at. Optional project_id keeps invites that grant a role on that project.
  • Id: workspace.invite.list · Result: WorkspaceInviteListResult

mammoth workspace invite resend

Send the invitation email again. 'invite_ids' from '--input'.

mammoth workspace invite resend --input '{"invite_ids": [1]}'
NamePassed asRequiredDefaultTypeNotes
invite_ids--input fieldyes—list[int]
  • Effect: Benign mutation, scope workspace · Confirmation: none
  • Preconditions: Sends the invitation email again. Take invite_ids from workspace invite list.
  • Id: workspace.invite.resend · Result: WorkspaceInviteResendResult

mammoth workspace invite revoke

Revoke pending invites. Prompt or '--yes' required.

mammoth workspace invite revoke --input '{"invite_ids": [1]}' --yes
NamePassed asRequiredDefaultTypeNotes
invite_ids--input fieldyes—list[int]
  • Effect: Destructive, scope workspace · Confirmation: --yes, or answer the prompt at an interactive terminal
  • Preconditions: Marks pending invites revoked; the row stays. To remove an invite for good use workspace invite delete.
  • Id: workspace.invite.revoke · Result: WorkspaceInviteRevokeResult

mammoth workspace invite update-role

Change the role a pending invite grants. '--yes' required.

mammoth workspace invite update-role --input '{"invite_id": 1, "role": "workspace_member"}' --yes
NamePassed asRequiredDefaultTypeNotes
invite_id--input fieldyes—int
role--input fieldyes—str
  • Effect: High impact, scope workspace · Confirmation: always --yes, even at a terminal
  • Preconditions: Changes the workspace role a pending invite will grant (workspace_member, workspace_admin, workspace_owner, workspace_guest).
  • Id: workspace.invite.update-role · Result: WorkspaceInviteUpdateRoleResult

workspace oauth-client

mammoth workspace oauth-client create

Create an OAuth client through the generated path, revealing its secret.

mammoth workspace oauth-client create 123 --input '{"name": "Revenue report", "redirect_uris": ["https://example.com/data.csv"]}' --yes
NamePassed asRequiredDefaultTypeNotes
WORKSPACE_IDpositionalno—intID of the workspace to act on; defaults to the client's own workspace.
name--input fieldyes—str
redirect_uris--input fieldyes—list[str]
description--input fieldno—str
logo_url--input fieldno—str
tos_url--input fieldno—str
privacy_url--input fieldno—str
token_endpoint_auth_method--input fieldnoclient_secret_basicstr
  • Effect: High impact, scope workspace · Confirmation: always --yes, even at a terminal
  • Preconditions: Registers an OAuth client that can sign users in. A confidential client's client_secret is returned exactly once and shown once in this output; store it now, it cannot be fetched again. Send name and redirect_uris through --input.
  • Id: workspace.oauth-client.create · Result: WorkspaceOauthClientCreateResult · Backed by: SDK mammoth.api.oauth_clients.OAuthClientsAPI.create, API POST /workspaces/{workspace_id}/oauth-clients (CreateOauthClient)

mammoth workspace oauth-client delete

Delete an OAuth client registration; its grants stop working.

mammoth workspace oauth-client delete 123 456 --yes --confirm 123
NamePassed asRequiredDefaultTypeNotes
OAUTH_CLIENT_IDpositionalyes—intID of the OAuth client.
WORKSPACE_IDpositionalno—intID of the workspace to act on; defaults to the client's own workspace.
  • Effect: High impact, scope workspace · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Exact OAuth client ID confirmation (--yes --confirm ID). Deleting the client stops its grants working.
  • Id: workspace.oauth-client.delete · Result: WorkspaceOauthClientDeleteResult · Backed by: SDK mammoth.api.oauth_clients.OAuthClientsAPI.delete, API DELETE /workspaces/{workspace_id}/oauth-clients/{oauth_client_id} (DeleteOauthClient)

mammoth workspace oauth-client list

List the workspace's registered OAuth clients (no secrets).

mammoth workspace oauth-client list 123
NamePassed asRequiredDefaultTypeNotes
WORKSPACE_IDpositionalno—intID of the workspace to act on; defaults to the client's own workspace.
  • Effect: Read, scope workspace · Confirmation: none
  • Preconditions: Read-only. The workspace's OAuth clients (id, client_id, name, redirect URIs). No client secret is returned.
  • Id: workspace.oauth-client.list · Result: AuthOauthClientListResult · Backed by: SDK mammoth.api.oauth_clients.OAuthClientsAPI.list, API GET /workspaces/{workspace_id}/oauth-clients (ListOauthClients)

mammoth workspace oauth-client revoke-grant

Revoke every grant to an OAuth client; users must authorise it again.

mammoth workspace oauth-client revoke-grant 123 456 --yes --confirm 123
NamePassed asRequiredDefaultTypeNotes
OAUTH_CLIENT_IDpositionalyes—intID of the OAuth client.
WORKSPACE_IDpositionalno—intID of the workspace to act on; defaults to the client's own workspace.
  • Effect: High impact, scope workspace · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Exact OAuth client ID confirmation (--yes --confirm ID). Every user who authorised this client must authorise it again.
  • Id: workspace.oauth-client.revoke-grant · Result: WorkspaceOauthClientRevokeGrantResult · Backed by: SDK mammoth.api.oauth_clients.OAuthClientsAPI.revoke_grant, API DELETE /workspaces/{workspace_id}/oauth-clients/{oauth_client_id}/grant (RevokeOauthGrant)

workspace segment

mammoth workspace segment list

List split-test segments for the workspace.

mammoth workspace segment list
  • Effect: Read, scope workspace · Confirmation: none · Pages: single_page
  • Id: workspace.segment.list · Result: WorkspaceSegmentListResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.segment_list, API GET /workspaces/{workspace_id}/split-segments (GetSegments)

mammoth workspace segment update

Update split-test segments. 'patch' comes from '--input'.

mammoth workspace segment update --input '{"patch": [{"name": "Status"}]}'
NamePassed asRequiredDefaultTypeNotes
patch--input fieldyes—list[dict[str, any]]
  • Effect: Benign mutation, scope workspace · Confirmation: none
  • Id: workspace.segment.update · Result: WorkspaceSegmentUpdateResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.segment_update, API PATCH /workspaces/{workspace_id}/split-segments (UpdateSegments)

workspace user

mammoth workspace user add

Invite one or more users to the workspace. High-impact: '--yes'.

mammoth workspace user add --input '{"email_ids": ["analyst@example.com"]}' --yes
NamePassed asRequiredDefaultTypeNotes
email_ids--input fieldyes—list[str]
projects--input fieldno—list[dict[str, any]]
  • Effect: Benign mutation, scope workspace · Confirmation: always --yes, even at a terminal
  • Id: workspace.user.add · Result: WorkspaceUserAddResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.user_add, API POST /workspaces/{workspace_id}/users (AddUserInWorkspace)

mammoth workspace user get

Get one workspace user by id (positional), in the client's own workspace.

mammoth workspace user get resource-123
NamePassed asRequiredDefaultTypeNotes
USER_IDpositionalyes—strID of the user.
  • Effect: Read, scope workspace · Confirmation: none
  • Preconditions: Required inputs: USER_ID.
  • Id: workspace.user.get · Result: WorkspaceUserGetResult

mammoth workspace user list

List users in the client's own workspace, with their roles and status.

mammoth workspace user list
NamePassed asRequiredDefaultTypeNotes
fields--input fieldno—str
  • Effect: Read, scope workspace · Confirmation: none · Pages: single_page
  • Preconditions: Lists members only; a pending invite is not a member. For pending invites and their ids run workspace invite list. Optional project_id keeps one project's members.
  • Id: workspace.user.list · Result: WorkspaceUserListResult · Backed by: SDK mammoth.api.workspace.WorkspaceAPI.list_users, API GET /workspaces/{workspace_id}/users (GetUsersInWorkspace)

mammoth workspace user remove

Remove a single user from the workspace. Prompt or '--yes' required.

mammoth workspace user remove 123 --yes
NamePassed asRequiredDefaultTypeNotes
USER_IDpositionalyes—intID of the user.
  • Effect: Destructive, scope workspace · Confirmation: --yes, or answer the prompt at an interactive terminal
  • Preconditions: Required inputs: USER_ID.
  • Id: workspace.user.remove · Result: WorkspaceUserRemoveResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.user_remove, API DELETE /workspaces/{workspace_id}/users/{user_id} (RemoveUser)

mammoth workspace user remove-batch

Remove several users and/or pending invites. Prompt or '--yes' required.

mammoth workspace user remove-batch --yes
NamePassed asRequiredDefaultTypeNotes
ids--input fieldno—str
invite_ids--input fieldno—str
  • Effect: Destructive, scope workspace · Confirmation: --yes, or answer the prompt at an interactive terminal
  • Preconditions: Removes members (ids) and/or pending invites (invite_ids). Take invite ids from workspace invite list; workspace invite delete is the dedicated command for invites.
  • Id: workspace.user.remove-batch · Result: WorkspaceUserRemoveBatchResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.user_remove_batch, API DELETE /workspaces/{workspace_id}/users (RemoveUserFromWorkspace)

mammoth workspace user update

Update a user's role. High-impact: '--yes --confirm USER_ID'.

mammoth workspace user update resource-123 --input '{"patches": [{"op": "replace", "path": "role", "value": "workspace_member"}]}' --yes --confirm resource-123
NamePassed asRequiredDefaultTypeNotes
USER_IDpositionalyes—strID of the user.
patches--input fieldyes—list[UserRolePatchOp]
  • Effect: High impact, scope workspace · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Exact user-ID confirmation for owner/admin role changes.
  • Id: workspace.user.update · Result: WorkspaceUserUpdateResult · Backed by: SDK mammoth.api.workspace.WorkspaceAPI.update_user, API PATCH /workspaces/{workspace_id}/users/{user_id} (UpdateUserInWorkspace)

mammoth workspace user update-batch

Update workspace users via JSON-patch operations. High-impact: '--yes --confirm WS'.

mammoth workspace user update-batch --input '{"patches": [{"name": "Status"}]}' --yes
NamePassed asRequiredDefaultTypeNotes
patches--input fieldyes—list[dict[str, any]]
  • Effect: High impact, scope workspace · Confirmation: always --yes --confirm TARGET, even at a terminal (TARGET is the exact id or name acted on; the confirmation_required error's hint names it)
  • Preconditions: Changes the roles of several workspace users in one JSON-patch call; each gains or loses access at once. Read workspace user list first. Needs --yes and --confirm WORKSPACE_ID.
  • Id: workspace.user.update-batch · Result: WorkspaceUserUpdateBatchResult · Backed by: SDK mammoth.api.workspaces.WorkspacesAPI.user_update_batch, API PATCH /workspaces/{workspace_id}/users (UpdateUserToWorkspace)

Report an issue · support@mammoth.io