Skip to main content
POST
/
v2
/
memory
/
alerts
/
dismiss
Dismiss Alert
curl --request POST \
  --url https://api.velt.dev/v2/memory/alerts/dismiss \
  --header 'Content-Type: application/json' \
  --header 'x-velt-api-key: <x-velt-api-key>' \
  --header 'x-velt-auth-token: <x-velt-auth-token>' \
  --data '
{
  "data": {
    "alertId": "<string>"
  }
}
'
{
  "result": {
    "success": true
  }
}
Use this API to dismiss an alert so it no longer appears in the active list.

Endpoint

POST https://api.velt.dev/v2/memory/alerts/dismiss

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Dismiss an alert

{
  "data": {
    "alertId": "alert_1"
  }
}

Response

The response confirms the dismissal.

Success Response

{
  "result": {
    "success": true
  }
}

Failure Response

{
  "error": {
    "message": "ERROR_MESSAGE",
    "status": "INVALID_ARGUMENT"
  }
}
{
  "result": {
    "success": true
  }
}