Skip to main content
POST
/
organizations
/
{orgId}
/
access
/
{entityType}
/
{entityId}
Grant access to a user or group
curl --request POST \
  --url https://api.eu.bronto.io/organizations/{orgId}/access/{entityType}/{entityId} \
  --header 'Content-Type: application/json' \
  --header 'X-BRONTO-API-KEY: <api-key>' \
  --data '
{
  "roles": [
    "<string>"
  ],
  "status": "active"
}
'

Authorizations

X-BRONTO-API-KEY
string
header
required

Path Parameters

orgId
string
required
entityType
enum<string>
required
Available options:
user,
group
entityId
string
required

Body

application/json
roles
string[]
required

List of role IDs to assign. Can be UUIDs (custom roles) or system role IDs like "Admin", "Standard", "ReadOnly", "SearchApi", "IngestionApi", "AdminApi".

status
enum<string>
required

Status of the access grant.

Available options:
active,
invited

Response

Access granted