Deletes an existing secret by ID.
The deleteSecret()
function returns a Promise that resolves when the secret is deleted. You can retrieve the secret _id
using the listSecretInfo()
function.
Note: Deleting a secret is irreversible and will break all code using the secret.
You can only call this method when authenticated as a Wix app or Wix user identity.
The unique ID of the secret to be deleted.