Secrets

Delete a secret

Changed on

Delete a secret from the vault.

delete/secret/{secretId}

Request

  • Base URL
    https://api.smallest.ai/atoms/v1
  • URL
    https://api.smallest.ai/atoms/v1/secret/{secretId}
  • Auth
    HTTP bearer

Path parameters

secretIdstring required

The secret's MongoDB id (24-char hex).

Response

Secret deleted.

statusboolean
datastring

Example response

{
  "status": true,
  "data": "Secret deleted successfully"
}

Changes