cURL
curl --request GET \ --url https://console.vast.ai/api/v0/team/roles/{id}/ \ --header 'Authorization: Bearer <token>'
{ "id": 1, "name": "admin", "permissions": [ "read", "write" ] }
Retrieve details of a specific team role by its name.
CLI Usage: vastai show team-role <name>
vastai show team-role <name>
API key must be provided in the Authorization header
Name of the team role
Success response
Role ID
1
Name of the role
"admin"
Permissions associated with the role
["read", "write"]