dazzling-lock-68691
08/16/2022, 2:19 PM$ ory list projects
You are authenticated as: *******
ID SLUG STATE NAME
e83f2025-99da-41a1-8308-adacfbaaf957 tender-shockley-zddpqno1ny running project-name-here
$ curl --location --request GET '<https://tender-shockley-zddpqno1ny.projects.oryapis.com/projects/e83f2025-99da-41a1-8308-adacfbaaf957>' --header 'Authorization: Bearer ory_pat_*********'
{"error":{"code":404,"status":"Not Found","request":"dda4700f-a053-968c-8c6f-493039723549","message":"Requested url does not match any rules"}}
$ curl --location --request DELETE '<https://tender-shockley-zddpqno1ny.projects.oryapis.com/projects/e83f2025-99da-41a1-8308-adacfbaaf957>' --header 'Authorization: Bearer ory_pat_*********''
{"error":{"code":404,"status":"Not Found","request":"de0cdcf9-a577-9af5-861f-668f2921543f","message":"Requested url does not match any rules"}}
Am I doing something wrong here? The PAT I've checked with querying the admin/identities
endpoint and it works.
Thanks in advance!proud-plumber-24205
08/16/2022, 2:35 PMproud-plumber-24205
08/16/2022, 2:35 PMproud-plumber-24205
08/16/2022, 2:39 PMproud-plumber-24205
08/16/2022, 2:40 PMcurl <https://api.console.ory.sh/projects/><project-id> -H "Accept: application/json" --cookie "<your cookies>"
To Delete
curl -X DELETE <https://api.console.ory.sh/projects/><project-id> -H "Accept: application/json" --cookie "<your cookies>"
proud-plumber-24205
08/16/2022, 2:41 PMproud-plumber-24205
08/16/2022, 2:42 PMproud-plumber-24205
08/16/2022, 2:46 PMdazzling-lock-68691
08/16/2022, 3:05 PMdazzling-lock-68691
08/16/2022, 8:31 PM{
"error": {
"code": 500,
"status": "Internal Server Error",
"request": "6caaf7b8-1a72-9cf0-b0ab-f9d537487516",
"message": "ERROR: delete on table \"ory_keto_networks\" violates foreign key constraint \"keto_relation_tuples_nid_fk\" on table \"keto_relation_tuples\" (SQLSTATE 23503)"
}
}
proud-plumber-24205
08/17/2022, 11:18 AMproud-plumber-24205
08/17/2022, 11:19 AMdazzling-lock-68691
08/17/2022, 7:11 PMproud-plumber-24205
08/17/2022, 9:06 PMproud-plumber-24205
08/17/2022, 9:09 PMproud-plumber-24205
08/17/2022, 9:10 PMdazzling-lock-68691
08/17/2022, 9:21 PM