Skip to main content
SecretsDelete specific secrets permanently from the vault.
TestMu AI
StatusCommunityBlog
Secrets

Delete specific secrets permanently from the vault.

This API permanently [removes specified secrets](https://www.lambdatest.com/support/docs/hyperexecute-how-to-save-and-manage-secrets/#delete-the-secrets) from the secure vault when they're no longer needed, helping maintain security and compliance with data retention policies.

POST
/v1.0/secrets/delete
Delete specific secrets permanently from the vault.
curl --request POST \
--url "https://api.hyperexecute.cloud/v1.0/secrets/delete" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"secretKey": "<secretKey>",
"username": "<username>",
"orgID": "<orgID>"
}'
{
"message": "Secret deleted successfully",
"status": "success"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
secretKeystringrequired
usernamestring
orgIDstring

Response

application/json

Successful operation

messagestring
statusstring
Delete specific secrets permanently from the vault.
curl --request POST \
--url "https://api.hyperexecute.cloud/v1.0/secrets/delete" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"secretKey": "<secretKey>",
"username": "<username>",
"orgID": "<orgID>"
}'
{
"message": "Secret deleted successfully",
"status": "success"
}