Unhinged
01/12/2023, 11:20 AMvroldanbet
01/12/2023, 12:07 PMWriteSchema
operation, DeleteRelationships
has some fields that help you with that. So you can tell it "delete all relationships of this relation", for example.
https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.PermissionsService.DeleteRelationships
note the relationship_filter
field in DeleteRelationships
https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.RelationshipFilterUnhinged
01/12/2023, 12:08 PMvroldanbet
01/12/2023, 12:10 PM