Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using doctl
), then deploy to a production namespace or App Platform — no servers required.
You can destroy individual functions at any time. You can also destroy all functions in a namespace at once by resetting the namespace.
To permanently destroy functions, from the Overview tab of the namespace, click the function’s More (…) menu.
Click Destroy Function to open the Destroy Function window.
Enter the name of the function in the confirmation prompt, then click Destroy.
To permanently destroy all functions in a namespace, click the Actions button in the top right, then click Reset Namespace.
Enter the name of the namespace in the confirmation prompt, then click Reset.