Skip to main content
Read the Notte skill and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
Source: node-sdk/src/functions.ts Delete the function permanently. This cannot be undone, so it must be confirmed. A function with deletion protection on cannot be deleted until it is turned off with updateMetadata({ deletion_protected: false }).

Parameters

FunctionDeleteOptions
required
Must set confirm to true.

Returns

The API’s function-deletion confirmation.

Raises

  • InvalidRequestError if confirm is not true.
  • NotteAPIError if the function cannot be deleted.

Example