hey guys! i find this community to be
# spicedb
d
hey guys! i find this community to be very helpful, so coming with new question - is there any way to make delete operation using filtering but include there caveat ?
v
unfortunately
DeleteRelationships
API does not offer a filter after the caveat part of the tuple. You can literaly filter by everything, except the caveat 😅 See https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.DeleteRelationshipsRequest Feel free to open an enhacement request in GitHub
d
oh haha, bad luck, alright I'll do:) so what would you suggest as an alternative? delete all and write again excluding the one that should go away?
v
yeah that could work
2 Views