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 use project

ory use project

Set the project as the default. When no id is provided, prints the currently used default project.

ory use project [id] [flags]

Examples

$ ory use project ecaaa3cb-0730-4ee8-a6df-9553cdfeef89

ID ecaaa3cb-0730-4ee8-a6df-9553cdfeef89

$ ory use project ecaaa3cb-0730-4ee8-a6df-9553cdfeef89 --format json

{
"id": "ecaaa3cb-0730-4ee8-a6df-9553cdfeef89
}

Options

--format string Set the output format. One of table, json, yaml, json-pretty, jsonpath and jsonpointer. (default "table")
-h, --help help for project
-q, --quiet Be quiet with output printing.

Options inherited from parent commands

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

See also