Hey, I'm not sure if this is a question for here o...
# talk-kratos
a
Hey, I'm not sure if this is a question for here or #ory-network, we're trying to build an internal UI for user management. We're using hosted Ory. I was wondering if it's possible to perform CRUD operations on user schemas? The docs here: https://www.ory.sh/docs/reference/api#tag/identity/operation/listIdentitySchemas, list only endpoints for listing schemas. Is it possible to programatically edit or delete schemas? The Ory Cloud UI is also not great with the management of those, e.g. there are no options to delete created schemas, the naming is a bit all over the place, and it does not show the schema ID which is required when creating an identity using that schema
p
Hi @acoustic-insurance-23566 You can create and update the identity schema through the Ory CLI command. See https://www.ory.sh/docs/identities/model/manage-identity-schema Unfortunately there is no way of deleting them yet, since they are strongly tied to Identities.
a
Thanks for the guidance @proud-plumber-24205. It would be good to be able to delete or disable them. We have an internal project where we created a bunch for dev purposes. Now it's confusing to pick the right one. Perhaps there is a best practice for such cases?
f
Would love this feature as well. Re-creating the project to achieve this isn’t great 😬