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

Changes

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