Appearance
CreateWorkspaceInput
Type: Input
Input for creating a workspace.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| definition | String! | The whole workspace as a verbatim JSON document (spec workspace-v1). Its id becomes the workspace handle, which must not already exist in the tenant. Validated server-side before storage. | |
| scope | WorkspaceScope | Distribution scope for the new workspace. Defaults to INSTANCE when omitted. TEAM/INSTANCE require workspace:write; PERSONAL (owned by the caller) is self-service. | |
| teamIds | [TeamID!] | TypeIDs (prefix tea) of the teams to assign; ignored unless scope is TEAM, in which case at least one existing team is required. |