Skip to main content
PATCH
/
api
/
v1
/
user
/
notification-preferences
Update one notification preference for the current user
curl --request PATCH \
  --url https://neo.api.projectdiscovery.io/api/v1/user/notification-preferences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true,
  "source": "slack"
}
'
{
  "enabled": true,
  "source": "slack"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

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

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json
enabled
boolean
required
source
string
required
Example:

"slack"

Response

Updated preference

enabled
boolean
required
source
string
required
Example:

"slack"