I'm trying to close my google cloud subscription by deleting all the available projects. I couldn't able to delete one of the projects either by ui or with the following command.
gcloud projects delete projectid-123
`ERROR: (gcloud.projects.delete) FAILED_PRECONDITION: Precondition check failed.
- '@type': type.googleapis.com/google.rpc.PreconditionFailure
violations:
- description: 'A lien to prevent deletion was placed on the project by [You cannot delete this project because it is linked with a Dialogflow agent. Please follow the link to Dialogflow and delete the agent: https://console.dialogflow.com/api-client/#/agent/e05152693a3 Remove the lien to allow deletion.' subject: liens/45620bc6246c-l5cef9dc1 type: LIEN
- '@type': type.googleapis.com/google.rpc.Help
links:
- description: Troubleshooting project deletion url: https://cloud.google.com/resource-manager/docs/troubleshooting-project-deletion
- '@type': type.googleapis.com/google.rpc.ErrorInfo domain: cloudresourcemanager.googleapis.com reason: PROJECT_DELETE_LIEN`
I no longer have access to that agent now so couldn't able to delete it. How to delete my project now? Is there any way to unlink the service from my project?
Also I'm not sure why i couldn't access the agent now. It was created before dialogflow merged to google.