Create a new team role.
Signature
VastAI.create_team_role(
name: str,
permissions: Any
) -> dict
Parameters
file path for json encoded permissions, look in the docs for more information
Returns
dict
Example
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.create_team_role(name="value", permissions="value")
print(result)