v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Team

show team roles

Retrieve a list of all roles for a team, excluding the owner' role.

CLI Usage: vastai show team-roles

get/api/v0/team/roles-full/

Response

Success response

namestring

Name of the role

permissionsstring[]

Permissions associated with the role

identifierstring

Unique identifier for the role

idinteger

Role ID

Example response

[
  {
    "name": "admin",
    "permissions": [
      "read",
      "write"
    ],
    "identifier": "admin_role",
    "id": 1234
  }
]