Before you start
In order to understand this guide correctly you must be familiar with some Auth0 FGA Concepts and know how to develop the things that we will list below.Step by step
01. Revoking group membership
Imagine that every member oforg:contoso has a reader relationship to 1000 documents. Now imagine that anne is no longer a member of org:contoso, so we want to revoke her access to all those documents, including document:planning. To accomplish this, we can simply delete the tuple in Auth0 FGA that specifies that Anne is a member of org:contoso.
02. Validating revoked member no longer has access
Once the above relationship tuple is deleted, we can check if Anne can readdocument:planning. Auth0 FGA will return { "allowed": false }.