v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Accounts

show team role

Retrieve details of a specific team role by its name.

CLI Usage: vastai show team-role <name>

get/api/v0/team/roles/{id}/

Path parameters

idstring required

Name of the team role

Response

Success response

idinteger

Role ID

namestring

Name of the role

permissionsstring[]

Permissions associated with the role

Example response

{
  "id": 1,
  "name": "admin",
  "permissions": [
    "read",
    "write"
  ]
}