Skip to main content
DELETE
/
v1
/
projects
/
secrets
/
{id}
Delete a Secret
curl --request DELETE \
  --url https://api.tryhamsa.com/v1/projects/secrets/{id} \
  --header 'Authorization: <api-key>'
{
  "success": true,
  "message": "success",
  "data": {
    "isDeleted": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tryhamsa.com/llms.txt

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

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Path Parameters

id
string
required

The ID of the secret to delete.

Example:

"ed9b5601-f731-441a-8500-d9fc7610ef8f"

Response

Secret deleted successfully

success
boolean
Example:

true

message
string
Example:

"success"

data
object