Hello, Im trying to set a default workspace in my ...
# general
f
Hello, Im trying to set a default workspace in my ory terminal, can anyone let me know how to do this (I've read the friendly manual and can't find anything)
r
export ORY_WORKSPACE=<uuid>
should work
f
Thanks @refined-kangaroo-48640 -- for more context, Im working with a Dockerfile that wants to have the workspace set. When I set it (took my hash out of the screenshot deliberately) the docker container doesn't work still. I also tried that export in my shell and it didnt set the workspace when I then run ory auth -- i.e. I get SELECTED WORKSPACE <none>
r
the "selected workspace" might be reported incorrectly when using the
ORY_WORKSPACE
env var
but commands like
ory list projects
should work correctly
f
Thanks @refined-kangaroo-48640 -- I get an empty list back for this
Out of interest on this point -- Am I able to, or would it be possible for someone to delete workspaces on my account that have been mistakenly created? -- I dont seem to be able to do this in manage workspaces.
m
Hello @fresh-zoo-17253 feel free to send a message to support@ory.sh with the IDs of the workspaces that you want to delete. Please send it from the workspace owners email so we can verify that you own these workspaces.
f
Hey @magnificent-energy-493 -- guessing things are just slow on this over the holiday season? (which is fine) just checking!
r
@fresh-zoo-17253 Did you solve the non-interactive use case?
ory auth
should not be necessary when you perform
Copy code
export ORY_WORKSPACE=<uuid>
export ORY_WORKSPACE_API_KEY=ory_wak_abcd
ory list projects
f
Still having some problems with this @refined-kangaroo-48640 but let me check with the cloud team on my end to check it isn't an issue on our side and get back to you with more information