Hey there, How can I delete a user in the Ory Con...
# ory-network
t
Hey there, How can I delete a user in the Ory Console ? Use case => I'm testing a hook flow in a development environment, and after each test I need to delete the user to test again (it's important that the email used is the same)
w
Good morning @thankful-toddler-79861! Deleting users didn’t make it to the Console yet, but you can do that quickly through Ory CLI 🙂
How? 1. List your project’s identities:
Copy code
ory list identities --project {project id}
2. Find the identity you want to delete and copy its ID
3. Delete by running:
Copy code
ory delete identity {ID} --project {project id}
let me know if this helps 🙂
t
Hey Tom 👋 Ah perfect, thanks A small UX feedback about the Ory Console => it's been 10min I'm looking for my projectId on it, still didn't find it 😂 It would be great to have access to it easily since most CLI commands depends on it
w
Awesome, glad I was able to help. 🙂 I’ll rely your feedback reg. Console to our team. Thanks for pointing this out, much appreciated!
t
Well I still didn't found my projectId, where can I easily find it ?
w
You didn’t? Sorry, didn’t catch that. With the CLI, run:
Copy code
ory list projects
1
🙌 1
this gets you all your projects - IDs, slugs, names, and their states