Ask AI is now on the home page — ask a question and get a sourced answer from the Ory docs. You'll also find it in the bottom-right corner of any page.

Skip to main content

ory list relationships

ory list relationships

List relation tuples

Synopsis

List relation tuples matching the given partial tuple. Returns paginated results.

ory list relationships [flags]

Options

--authority string Set the authority header for the remote gRPC server.
--block Block until the connection is up.
--format string Set the output format. One of table, json, yaml, json-pretty, jsonpath and jsonpointer. (default "table")
-h, --help help for relationships
--namespace string Set the requested namespace
--object string Set the requested object
--page-size int32 maximum number of items to return (default 100)
--page-token string page token acquired from a previous response
--project string The project to use, either project ID or a (partial) slug.
-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"
--workspace string The workspace to use, either workspace ID or a (partial) name.

Options inherited from parent commands

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

See also