bland-finland-95044
03/01/2024, 3:40 PMThe Write APIs offer multiple ways to insert and delete relationships. Please head over to the gRPC API reference or REST API reference to read more about the available methods for each client type.
It's preferred to use the transaction based methods over repeatedly calling simple methods for bulk updatesWhich transaction based methods is it referring to?
chilly-king-10285
03/01/2024, 3:40 PMchilly-king-10285
03/01/2024, 3:41 PMTransactRelationTuplesRequest
and returns a TransactRelationTuplesResponse
. The request includes a list of RelationTupleDelta
objects, each representing a change to a relationship. The action for each RelationTupleDelta
can be ACTION_INSERT
to insert a new relationship, or ACTION_DELETE
to delete an existing relationship. If the action is unspecified, the TransactRelationTuples
RPC ignores that RelationTupleDelta
. [source](https://www.ory.sh/docs/keto/reference/proto-api#writeservice) 2. `DeleteRelationTuples`: This method deletes relationships based on a relation query. It takes a DeleteRelationTuplesRequest
and returns a DeleteRelationTuplesResponse
. [source](https://www.ory.sh/docs/keto/reference/proto-api#writeservice) These methods are part of the [write-APIs](https://www.ory.sh/docs/keto/concepts/api-overview#write-apis) in Ory Keto.bland-finland-95044
03/01/2024, 3:49 PMchilly-king-10285
03/01/2024, 3:49 PMchilly-king-10285
03/01/2024, 3:49 PM