cURL
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" }
Update user’s notification preferences
Successfully updated notification preferences
The response is of type object.
object
Was this page helpful?