v1

latestOpenAPI 3.1.02026-07-22115189303.8 KB
Functions

Delete function secret

Permanently delete a secret from this function. The secret will be removed from the runtime environment and will no longer be available as an environment variable.

Requirements:

  • Function must be in 'deployed' status (422 if not)
  • Secret must exist (404 if not found)

After deletion:

  • Secret is immediately removed from function runtime environment
  • Function can no longer access the secret value
  • Any function invocations referencing the deleted secret will fail

This operation cannot be undone. Make sure the secret is no longer needed before deletion. If the function code still references the deleted secret, invocations may fail with undefined variable errors.

delete/functions/{function_id}/secrets/{secret_name}

Response

Secret deleted successfully (no content returned)