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

Changes

No recorded changes to this endpoint across all 1 revision of this API.