Skip to main content
Add a new role to your team

Usage

vastai create team-role --name NAME --permissions PERMISSIONS

Options

--name
string
name of the role
--permissions
string
file path for json encoded permissions, look in the docs for more information

Description

Creating a new team role involves understanding how permissions must be sent via json format. You can find more information about permissions here: https://vast.ai/docs/cli/roles-and-permissions

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)