For deleting the organization then, do I need to u...
# spicedb
p
For deleting the organization then, do I need to use
OptionalRelation
key? Like this:
Copy code
req := v1.DeleteRelationshipsRequest{
        RelationshipFilter: &v1.RelationshipFilter{
            ResourceType:       "directory",
            OptionalResourceId: dirID,
            OptionalRelation:   "organization",
        },
    }
Also is there a way to have a wildcard like
*
do delete all the relationships in the deleted
directory
definition?