Deleting a function removes its running service and its stored code for good. Delete every function before you deactivate Functions.
Before you begin
Section titled “Before you begin”You can delete a function once it is Running or Failed. Wait until it leaves Creating or Deploying.
Delete the function
Section titled “Delete the function”Deleting a function removes its code for good. Copy any code you want to keep before you delete the function.
- In Compute > Functions, find the function in the list.
- Under Actions, click the trash can icon for the function.
- In Confirm Delete Function, click Delete.
The function leaves the list.
What you have now
Section titled “What you have now”The function is gone, and its name is free to use again. Its URL now returns HTTP 404.
The CPU monthly minimum applies for each month in which Functions is active, whether or not any functions remain. See Billing. To turn Functions off entirely, see Deactivate Functions.