v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Team

create team role

Creates a new role within a team. Only team owners or managers with the appropriate permissions can perform this operation.

CLI Usage: vastai create team role --name <role_name> --permissions <permissions_json>

post/api/v0/team/roles/

Request body

namestring required

Name for the new role

Example request

{
  "name": "developer"
}

Response

Role created successfully

msgstring

Example response

{
  "msg": "success"
}