Skip to main content

ory delete relationships

ory delete relationships

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.

ory delete relationships [flags]

Options

      --all                  Delete all relation tuples
--force Force the deletion of relation tuples
--format string Set the output format. One of table, json, yaml, json-pretty, and jsonpath. (default "default")
-h, --help help for relationships
--namespace string Set the requested namespace
--object string Set the requested object
--project string The project to use
-q, --quiet Be quiet with output printing.
--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"

Options inherited from parent commands

  -c, --config string   Path to the Ory Network configuration file.
-y, --yes Confirm all dialogs with yes.

SEE ALSO