Skip to content

Workspace Commands

Commands for managing workspaces and profiles.

workspace

Manage Tailor Platform workspaces.

Usage

tailor-sdk workspace [command]

Commands

CommandDescription
workspace appManage workspace applications
workspace createCreate a new Tailor Platform workspace.
workspace deleteDelete a Tailor Platform workspace.
workspace getShow detailed information about a workspace
workspace listList all Tailor Platform workspaces.
workspace restoreRestore a deleted workspace
workspace userManage workspace users

See Global Options for options available to all commands.

workspace create

Create a new Tailor Platform workspace.

Usage

tailor-sdk workspace create [options]

Options

OptionAliasDescriptionRequiredDefaultEnv
--name <NAME>-nWorkspace nameYes--
--region <REGION>-rWorkspace region (us-west, asia-northeast)Yes--
--delete-protection-dEnable delete protectionNofalse-
--organization-id <ORGANIZATION_ID>-oOrganization ID to workspace associate withNo-TAILOR_PLATFORM_ORGANIZATION_ID
--folder-id <FOLDER_ID>-fFolder ID to workspace associate withNo-TAILOR_PLATFORM_FOLDER_ID
--profile-name <PROFILE_NAME>-pProfile name to createNo--
--profile-user <PROFILE_USER>-User email for the profile (defaults to current user)No--

See Global Options for options available to all commands.

workspace list

List all Tailor Platform workspaces.

Usage

tailor-sdk workspace list [options]

Options

OptionAliasDescriptionRequiredDefault
--limit <LIMIT>-lMaximum number of workspaces to listNo-

See Global Options for options available to all commands.

workspace delete

Delete a Tailor Platform workspace.

Usage

tailor-sdk workspace delete [options]

Options

OptionAliasDescriptionRequiredDefault
--workspace-id <WORKSPACE_ID>-wWorkspace IDYes-
--yes-ySkip confirmation promptsNofalse

See Global Options for options available to all commands.

profile

Manage workspace profiles (user + workspace combinations).

Usage

tailor-sdk profile [command]

Commands

CommandDescription
profile createCreate a new profile.
profile deleteDelete a profile.
profile listList all profiles.
profile updateUpdate profile properties.

See Global Options for options available to all commands.

profile create

Create a new profile.

Usage

tailor-sdk profile create [options] <name>

Arguments

ArgumentDescriptionRequired
nameProfile nameYes

Options

OptionAliasDescriptionRequiredDefault
--user <USER>-uUser emailYes-
--workspace-id <WORKSPACE_ID>-wWorkspace IDYes-

See Global Options for options available to all commands.

profile list

List all profiles.

Usage

tailor-sdk profile list

See Global Options for options available to all commands.

profile update

Update profile properties.

Usage

tailor-sdk profile update [options] <name>

Arguments

ArgumentDescriptionRequired
nameProfile nameYes

Options

OptionAliasDescriptionRequiredDefault
--user <USER>-uNew user emailNo-
--workspace-id <WORKSPACE_ID>-wNew workspace IDNo-

See Global Options for options available to all commands.

profile delete

Delete a profile.

Usage

tailor-sdk profile delete <name>

Arguments

ArgumentDescriptionRequired
nameProfile nameYes

See Global Options for options available to all commands.

workspace app

Manage workspace applications

Usage

tailor-sdk workspace app [command]

Commands

CommandDescription
workspace app healthCheck application schema health
workspace app listList applications in a workspace

See Global Options for options available to all commands.

workspace app health

Check application schema health

Usage

tailor-sdk workspace app health [options]

Options

OptionAliasDescriptionRequiredDefaultEnv
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-TAILOR_PLATFORM_WORKSPACE_ID
--profile <PROFILE>-pWorkspace profileNo-TAILOR_PLATFORM_PROFILE
--name <NAME>-nApplication nameYes--

See Global Options for options available to all commands.

workspace app list

List applications in a workspace

Usage

tailor-sdk workspace app list [options]

Options

OptionAliasDescriptionRequiredDefaultEnv
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-TAILOR_PLATFORM_WORKSPACE_ID
--profile <PROFILE>-pWorkspace profileNo-TAILOR_PLATFORM_PROFILE
--limit <LIMIT>-lMaximum number of applications to listNo--

See Global Options for options available to all commands.

workspace get

Show detailed information about a workspace

Usage

tailor-sdk workspace get [options]

Options

OptionAliasDescriptionRequiredDefaultEnv
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-TAILOR_PLATFORM_WORKSPACE_ID
--profile <PROFILE>-pWorkspace profileNo-TAILOR_PLATFORM_PROFILE

See Global Options for options available to all commands.

workspace restore

Restore a deleted workspace

Usage

tailor-sdk workspace restore [options]

Options

OptionAliasDescriptionRequiredDefault
--workspace-id <WORKSPACE_ID>-wWorkspace IDYes-
--yes-ySkip confirmation promptsNofalse

See Global Options for options available to all commands.

workspace user

Manage workspace users

Usage

tailor-sdk workspace user [command]

Commands

CommandDescription
workspace user inviteInvite a user to a workspace
workspace user listList users in a workspace
workspace user removeRemove a user from a workspace
workspace user updateUpdate a user's role in a workspace

See Global Options for options available to all commands.

workspace user invite

Invite a user to a workspace

Usage

tailor-sdk workspace user invite [options]

Options

OptionAliasDescriptionRequiredDefaultEnv
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-TAILOR_PLATFORM_WORKSPACE_ID
--profile <PROFILE>-pWorkspace profileNo-TAILOR_PLATFORM_PROFILE
--email <EMAIL>-Email address of the user to inviteYes--
--role <ROLE>-rRole to assign (admin, editor, viewer)Yes--

See Global Options for options available to all commands.

workspace user list

List users in a workspace

Usage

tailor-sdk workspace user list [options]

Options

OptionAliasDescriptionRequiredDefaultEnv
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-TAILOR_PLATFORM_WORKSPACE_ID
--profile <PROFILE>-pWorkspace profileNo-TAILOR_PLATFORM_PROFILE
--limit <LIMIT>-lMaximum number of users to listNo--

See Global Options for options available to all commands.

workspace user remove

Remove a user from a workspace

Usage

tailor-sdk workspace user remove [options]

Options

OptionAliasDescriptionRequiredDefaultEnv
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-TAILOR_PLATFORM_WORKSPACE_ID
--profile <PROFILE>-pWorkspace profileNo-TAILOR_PLATFORM_PROFILE
--email <EMAIL>-Email address of the user to removeYes--
--yes-ySkip confirmation promptsNofalse-

See Global Options for options available to all commands.

workspace user update

Update a user's role in a workspace

Usage

tailor-sdk workspace user update [options]

Options

OptionAliasDescriptionRequiredDefaultEnv
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-TAILOR_PLATFORM_WORKSPACE_ID
--profile <PROFILE>-pWorkspace profileNo-TAILOR_PLATFORM_PROFILE
--email <EMAIL>-Email address of the user to updateYes--
--role <ROLE>-rNew role to assign (admin, editor, viewer)Yes--

See Global Options for options available to all commands.