curl --request POST \
--url http://localhost/mogl/mogl-backend/api/disableNotificationPreference \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"mobiles": []
}'{
"status": true,
"message": "Notification preferences updated.",
"total_preferences_updated": 1,
"users_with_preference_changes": 1
}Called by internal services to disable a specific notification preference for a user.
curl --request POST \
--url http://localhost/mogl/mogl-backend/api/disableNotificationPreference \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"mobiles": []
}'{
"status": true,
"message": "Notification preferences updated.",
"total_preferences_updated": 1,
"users_with_preference_changes": 1
}Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
Server-to-Server API Key for internal/lambda/cron calls
Array of mobile phone numbers to look up users and disable all their notification preferences
[]