Skip to main content
POST
/
updateAllInAppNotificationStatus
Toggle all in-app notifications on/off
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/updateAllInAppNotificationStatus \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "all_in_app_notifications": "Y"
}
'

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.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
all_in_app_notifications
enum<string>

Y to enable, N to disable (NOT status boolean)

Available options:
Y,
N
Example:

"Y"

Response

200

Status updated