cURL
curl --request DELETE \ --url https://console.vast.ai/api/v0/team/roles/{name} \ --header 'Authorization: Bearer <token>'
{ "status": "success", "message": "Role removed from team" }
Removes a role from the team. Cannot remove the team owner role.
CLI Usage: vastai remove team-role <name>
vastai remove team-role <name>
API key must be provided in the Authorization header
Name of the role to remove
Role removed successfully
success
"success"
"Role removed from team"