Skip to main content
GET
/
v2
/
organizations
/
{organizationId}
/
directories
/
{directoryId}
/
grants
curl "https://api.orbitsearch.com/v2/organizations/$ORGANIZATION_ID/directories/$DIRECTORY_ID/grants" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN"
Returns all grants currently assigned to the specified directory. See directory access grants for the permission model.

Path parameters

organizationId
string
required
The UUID of the owning organization.
directoryId
string
required
The UUID of the directory whose grants you want to list.
curl "https://api.orbitsearch.com/v2/organizations/$ORGANIZATION_ID/directories/$DIRECTORY_ID/grants" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN"