Delete a secret version
Changed onPermanently deletes an older version of a secret. You can't delete the latest version: add a new version or delete the secret instead. Secrets are enabled for teams on request; please contact support to enable them (otherwise 403 SECRETS_FEATURE_DISABLED). Restricted API keys need the secrets.manage scope. When you're signed in rather than using an API key, you must be a team owner or admin (otherwise 403 SECRETS_ADMIN_REQUIRED).
delete/api/secrets/{id}/versions/{version}
Request
- Base URLhttps://api.hyperbrowser.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Secret ID.
versioninteger required
Version number.
Response
Success
Changes
- info
endpoint added
- info