Skip to main content
PUT
/
api
/
v0
/
team
/
roles
/
{id}
update team role
curl --request PUT \
  --url https://console.vast.ai/api/v0/team/roles/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "permissions": {}
}
'
"Successfully Updated Team Role For <role_name>"

Documentation Index

Fetch the complete documentation index at: https://vastai-80aa3a82-feat-host-3113-dynamic-resize.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the role to update.

Body

application/json
name
string
required

New name for the role.

permissions
object
required

JSON encoded permissions for the role.

Response

200 - application/json

Successfully updated team role.

The response is of type string.

Example:

"Successfully Updated Team Role For <role_name>"