Skip to main content
POST
/
v1
/
api
/
update_secret_value
curl -X POST https://api.hookpulse.io/v1/api/update_secret_value/ \
  -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}}",
    "secret_updated_value": "{{secret_updated_value}}"
  }'
{
  "success": true,
  "details": "Value updated"
}
Update the value of an existing system secret in the vault.

Base URL

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

Example request

curl -X POST https://api.hookpulse.io/v1/api/update_secret_value/ \
  -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}}",
    "secret_updated_value": "{{secret_updated_value}}"
  }'

Request body

FieldTypeRequiredDescription
secret_uuidstringYesUUID of the secret to update
secret_updated_valuestringYesNew value for the secret

Example response

{
  "success": true,
  "details": "Value updated"
}

Response fields

FieldTypeDescription
successbooleanIndicates if the request was successful
detailsstringSuccess message

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 update configuration

secret_uuid
string
required

UUID of the secret to update

secret_updated_value
string
required

New value for the secret

Response

Secret value updated successfully

success
boolean

Indicates if the request was successful

details
string

Success message