PATCH
/
v1
/
user
/
notification_preference
Update User Notification Preferences
curl --request PATCH \
  --url https://api.projectdiscovery.io/v1/user/notification_preference \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "weekly_digest_email": true,
  "onboard_preference": {},
  "real_time_autoscan": true,
  "enable_auto_retest": true
}'
{
  "message": "Notification preferences updated successfully"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Successfully updated notification preferences

The response is of type object.