Skip to main content
DELETE
/
v1
/
api
/
delete_secret
curl -X DELETE https://api.hookpulse.io/v1/api/delete_secret/ \
  -H "x-hookpulse-api-key: {{x-hookpulse-api-key}}" \
  -H "x-brand-uuid: {{x-brand-uuid}}" \
  -H "Content-Type: application/json" \
  -d '{
    "secret_uuid": "{{secret_uuid}}"
  }'
{
  "success": true,
  "details": "System secret deleted successfully"
}
Delete a system secret from the vault.

Base URL

All API requests should be made to:
https://api.hookpulse.io

Example request

curl -X DELETE https://api.hookpulse.io/v1/api/delete_secret/ \
  -H "x-hookpulse-api-key: {{x-hookpulse-api-key}}" \
  -H "x-brand-uuid: {{x-brand-uuid}}" \
  -H "Content-Type: application/json" \
  -d '{
    "secret_uuid": "{{secret_uuid}}"
  }'

Request body

FieldTypeRequiredDescription
secret_uuidstringYesUUID of the secret to delete

Example response

{
  "success": true,
  "details": "System secret deleted successfully"
}

Error response

If the deletion fails:
{
  "secret_uuid": "{{secret_uuid}}"
}

Response fields

FieldTypeDescription
successbooleanIndicates if the request was successful (only present on success)
detailsstringSuccess message (only present on success)
secret_uuidstringUUID of the secret (only present on error)

Authorizations

x-hookpulse-api-key
string
header
required

API key for authentication. Get this from your dashboard by selecting a brand and going to API Keys section.

x-brand-uuid
string
header
required

Brand UUID for authentication. Get this from your dashboard after adding a brand - it will be displayed in the UI.

Body

application/json

Secret deletion request

secret_uuid
string
required

UUID of the secret to delete

Response

Secret deleted successfully

success
boolean

Indicates if the request was successful

details
string

Success message