Skip to main content
DELETE
/
v2
/
organizations
/
{organizationId}
/
directories
/
{directoryId}
/
grants
/
{grantId}
Delete a grant
curl --request DELETE \
  --url https://api.orbitsearch.com/v2/organizations/{organizationId}/directories/{directoryId}/grants/{grantId} \
  --header 'Authorization: Bearer <token>'
Removes a grant from a directory. The principal immediately loses the associated permission.

Path parameters

organizationId
string
required
The UUID of the owning organization.
directoryId
string
required
The UUID of the directory.
grantId
string
required
The UUID of the grant to delete.