Hello everybody, I would like to delete a project...
# ory-network
c
Hello everybody, I would like to delete a project. The only way to achieve this seems to be the REST API. So I went to the UI, generated an API token. The REST API documentations says that I should send a HTTP DELETE request to
https://{project}.<http://projects.oryapis.com/projects/{project_id}|projects.oryapis.com/projects/{project_id}>
. So I looked ip for the required information:
$ ory list projects
ID                                      SLUG                            STATE   NAME
c9fc9121-cfb1-4b70-a6ab-61deed9df625    goofy-goodall-yhyqna3agb        running A
Telling from the information provided in ORY CLI I came up with this URL:
<https://goofy-goodall-yhyqna3agb.projects.oryapis.com/projects/c9fc9121-cfb1-4b70-a6ab-61deed9df625>
But: when I use this URL with cURL I get
404: Requested url does not match any rules
. What am I missing?
p
This document isn't right and we should update it since the URL shouldn't be the project URL itself but rather our backend. /cc @magnificent-energy-493 @wonderful-lamp-2357 https://www.ory.sh/projects-api-management-guide/
c
Thank you, works like a charm 😉
And thank you so much for the URL with the article,
api.console.ory.sh
was a bit too hard for me to guess ...