cURL
curl --request PUT \ --url https://api.example.com/v1/profile/notifications \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email_notifications": true, "push_notifications": true, "categories": { "security": true, "marketing": true, "updates": true } } '
Update user notification preferences
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Enable email notifications
Enable push notifications
Show child attributes
Notification settings updated successfully