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

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
string
required

Name of the team role

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"]