org

Set a member's role [org:write + admin]

Change a member's role (org admins only): "member" (compute, own usage), "billing" (invoices and all usage, zero compute; made for the finance office), "admin" (everything). Refused if it would leave the org without an admin.

patch/preview/org/members/{member}

Request

  • Base URL: https://autoresearch.sfcompute.com
  • URL: https://autoresearch.sfcompute.com/preview/org/members/{member}
  • Auth: HTTP bearer

Path parameters

memberstring required

The member: a customer_id or email from list_team's roster.

Query parameters

workspacestring

Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.

Request body

orgstring nullable

Organization (uuid or name); omitted = your active org.

rolestring required

The new role: "member", "billing", or "admin".

Response

The capability's JSON result.

objectstring

The resource type, when the result is one resource.

Changes

No recorded changes to this operation across all 1 revision of this API.