Is there a way to delete identities on Ory Cloud? ...
# ory-network
g
Is there a way to delete identities on Ory Cloud? For Kratos? Trying to test my login flow and running out of email addresses.
h
Yes, for example using the ory cli:
Copy code
ory help identities delete
https://www.ory.sh/docs/cli/ory-identities-delete
g
Awesome. Ty
@high-optician-2097 Is there a new version of the ory cli? Iโ€™m on
v0.1.24
h
๐Ÿ˜ฎ
g
Not sure if this helps
h
Very much work in progress ๐Ÿ˜„
๐Ÿ‘ 1
g
Sounds good. So both identities and the configs are still in development? Do you have an estimate on when they might get released?
h
You can delete identities using
curl
today, see: https://www.ory.sh/docs/reference/api#operation/adminDeleteIdentity In the authorizuation, use
Authorization: Bearer <YOUR PERSONAL ACCESS TOKEN>
๐Ÿ‘ 1
g
Awesome. Thank you.
m
The disparity between the docs and the actual CLI is kind of confusing
m
Sorry to hear that Forrest, was there anything particular that confused you? We can fix that ๐Ÿ™
h
@magnificent-energy-493 it looks like the CLI docs generation is broken for the Ory CLI? It looks like the wrong directory https://www.ory.sh/docs/cli/ory-identities-get
m
Sorry, I didn't see these replies. Thanks for catching the issue! I'm still having trouble though โ€“ the docs mention commands like
ory identities list
which do not actually exist in the CLI (v0.1.28). Related: ory/cli#152
m
Yes it has been changed in the latest update, but we will soon add it again to the CLI ๐Ÿ™
m
Ah gotcha, sounds good
Not a formal feature request but it would be nice to have versioned docs
h
The problem was that we had a bug in the docs generation for the CLI, which caused the docs to be incorrect. Thatโ€™s resolved now ๐Ÿ™‚
๐Ÿ™Œ 1