Skip to main content
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>'
[
  {
    "name": "admin",
    "permissions": [
      "read",
      "write"
    ],
    "identifier": "admin_role",
    "id": 1234
  }
]

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-fix-google-validation-docs-404s.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Response

Success response

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"

id
integer

Role ID

Example:

1234