I'm trying to list projects using postman with doc...
# ory-network
e
I'm trying to list projects using postman with documentation provided here, but I'm a little confused about URL's. What should be
baseUrl
and is it possible to use API Key? Note that listing and updating identities works just fine with
Application URL
and API Key.
w
Hi! 👋 About authorization for this request: yes, use the API Key in the
Authorization
header of the request. We’re updating the API docs to make that clearer. 🙂
e
what should be the baseUrl?
accessing https://api.console.ory.sh/projects gives me 401, but I have provided Bearer token with api key
w
Let me grab a dev to help on this one. It kinda looks like a CLI method that isn’t really accessible any other way 🤔 AFAIR the api.console.ory.sh address is for frontend interactions in the Console UI only and that’s why you get a 401.
in the meantime, did you try to use Ory CLI to list all your projects? Works like a charm 😉
e
I'll try it soon 🙂 thanks
w
Gives you a nice list:
e
I see you have docker image for cli, nice 🙂
w
yea 🙂 it’s very handy, give it a spin
I’ll see what’s up with the endpoint you tried to use 😉
e
cli works 👍
1