Configuring user access using API
Learn how to configure user access using API.
Sample script
curl -X 'POST' \
'https://debricked.com/api/1.0/open/admin/rbac/update-user-roles-by-repo' \
-H 'accept: */*' \
-H 'Authorization: Bearer {token}' \
-H 'Content-Type: application/json' \
-d '{
"userIds": [
1125,1126
],
"access": [
{
"repoId": 6,
"roleId": 4
}
],
"noAccess": [
{
"repoId": 5,
"roleId": 4
}
]
}'Roles
ID
Last updated
Was this helpful?

