cURL
curl --request GET \ --url https://console.vast.ai/api/v0/team/roles-full/ \ --header 'Authorization: Bearer <token>'
[ { "name": "admin", "permissions": [ "read", "write" ], "identifier": "admin_role", "id": 1234 } ]
Retrieve a list of all roles for a team, excluding the owner’ role.
CLI Usage: vastai show team-roles
vastai show team-roles
API key must be provided in the Authorization header
Success response
Name of the role
"admin"
Permissions associated with the role
["read", "write"]
Unique identifier for the role
"admin_role"
Role ID
1234