I see the Run API v2 doesn't include the ability to delete domain mappings and the Run npm package seemingly doesn't include v1 anymore. What would be the best way to delete a cloud run domain mapping via a Node.js Cloud Function? Call the v1 API manually? Did they move this functionality elsewhere because I can't seem to find it
Hi @Jdev3,
Welcome to the Google Cloud community!
Cloud Run API v2 lacks direct support for deleting domain mappings. The best way, for now, is to use the Cloud Run v1 API directly within your Node.js Cloud Run Function. Calling the Cloud Run v1 API manually is the recommended approach to delete domain mappings.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.