Vast.ai API
Team

Create a new team role

1min
POST
https://console.vast.ai/api/v0/team/role

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

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

Authentication
BearerAuth
Body Parameters
body
*
name
*
permissions
*
Responses
200
Role created successfully
msg
400
Bad Request
success
error
msg
401
Unauthorized - Invalid or missing API key
success
error
msg
403
Forbidden - User lacks permission
success
error
msg