Skip to main content

keto relation-tuple delete-all

keto relation-tuple delete-all

Delete ALL relation tuples matching the relation query.

Synopsis

Delete all relation tuples matching the relation query. It is recommended to first run the command without the --force flag to verify that the operation is safe.

keto relation-tuple delete-all [flags]

Options

      --force                 Force the deletion of relation tuples
--format string Set the output format. One of table, json, yaml, and json-pretty. (default "default")
-h, --help help for delete-all
--namespace string Set the requested namespace
--object string Set the requested object
-q, --quiet Be quiet with output printing.
--read-remote string Remote address of the read API endpoint. (default "127.0.0.1:4466")
--relation string Set the requested relation
--subject-id string Set the requested subject ID
--subject-set string Set the requested subject set; format: "namespace:object#relation"
--write-remote string Remote address of the write API endpoint. (default "127.0.0.1:4467")

Options inherited from parent commands

  -c, --config strings   Config files to load, overwriting in the order specified. (default [/home/runner/keto.yml])

SEE ALSO