Skip to main content
DELETE
/
secrets
/
{secretId}
Delete a secret
curl --request DELETE \
  --url https://api.onecli.sh/v1/secrets/{secretId} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key obtained from the dashboard or GET /user/api-key

Path Parameters

secretId
string
required

Response

Secret deleted