GET
/
api
/
v0
/
team
/
roles-full
/
show team roles
curl --request GET \
  --url https://console.vast.ai/api/v0/team/roles-full/ \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 1,
    "name": "admin",
    "permissions": [
      "read",
      "write"
    ],
    "identifier": "admin_role"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Success response

id
integer

Role ID

Example:

1

name
string

Name of the role

Example:

"admin"

permissions
string[]

Permissions associated with the role

Example:
["read", "write"]
identifier
string

Unique identifier for the role

Example:

"admin_role"