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

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

Body

application/json
users
object[]
required

Per-member desired attachment sets. Applied atomically: if any entry is rejected the whole request fails and nothing is written. A member may not appear twice and may not be the caller.

Response

Attachments updated