err:unkey:application:protected_resourceExample response
Likely causes
- You called
apis.deleteApi,apps.deleteApp, orprojects.deleteProjecton a resource with delete protection on. The message names the resource type.
How to fix
- Make sure you really mean to delete it. Deleting an API from the dashboard also deletes its keyspace and every key in it. Deleting a removes its apps, environments, and deployments.
- Turn off delete protection in the dashboard, or with the resource’s update endpoint where it has the setting. See Delete protection for where the switch is.
- Delete it again.
Related errors
err:unkey:data:api_not_found: the API you tried to delete doesn’t exist.err:unkey:data:app_not_found: the app doesn’t exist.err:unkey:data:project_not_found: the project doesn’t exist.