Skip to main content
PUT
/
orgs
/
{org_id}
/
iam
/
users
/
{user_id}
/
roles
cURL
curl --request PUT \
  --url https://api.timbal.ai/orgs/{org_id}/iam/users/{user_id}/roles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "attachments": [
    {
      "role_id": 123,
      "scope": "<string>"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
string
required
user_id
string
required

Body

application/json
attachments
object[]
required

Desired attachment set for this member. Attachments present today but not in the list are detached; new ones are attached. An empty list detaches everything. Duplicate (role_id, scope) pairs are ignored.

Response

Attachments updated