Signature
Parameters
int
required
id of the role
Optional[str]
name of the role
Optional[str]
file path for json encoded permissions, look in the docs for more information
Returns
dict
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.update_team_role(
id: int,
name: Optional[str] = None,
permissions: Optional[str] = None
) -> dict
dict
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.update_team_role(id=12345)
print(result)