Britive platform release 2026.08.02 is now live in production.

Granting Service User Admin Role

Prev Next
  1. Get the role ID:

    curl -G <DOMAIN_URL>/admin/v1/AppRoles \
      -H "Authorization: Bearer <ACCESS_TOKEN>" \
      --data-urlencode 'filter=displayName eq "Identity Domain Administrator"'
  2. Copy <APPROLE_ID> to grant permission:

    curl -X POST <DOMAIN_URL>/admin/v1/Grants \
      -H "Authorization: Bearer <ACCESS_TOKEN>" \
      -H "Content-Type: application/scim+json" \
      -d '{
        "schemas": ["urn:ietf:params:scim:schemas:oracle:idcs:Grant"],
        "grantee": { "value": "<USER_ID>", "type": "User" },
        "app": { "value": "IDCSAppId" },
        "entitlement": { "attributeName": "appRoles", "attributeValue": "<APPROLE_ID>" },
        "grantMechanism": "ADMINISTRATOR_TO_USER"
      }'