Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt Include
ESLP:Anywhere and Complete Users Specific API (snippet)
ESLP:Anywhere and Complete Users Specific API (snippet)
nopaneltrue

...

Code Block
languagetext
POST https://api.armor.com/users/notifications

REQUEST:
{
 "userId": 2903,
 "isSelfUpdate": true,
 "notificationPreferences": [
   {
     "userId": 2903,
     "accountId": 2,
     "notificationTypeId": "2",
     "alert": true,
     "sms": true,
     "email": true
   }
 ]
}

...

Input

Excerpt Include
ESLP:API table parts (snippet)
ESLP:API table parts (snippet)
nopaneltrue

API Call / URLMethod / Type
/users/notificationsPOST


Excerpt Include
ESLP:Parameters to include (snippet)
ESLP:Parameters to include (snippet)
nopaneltrue

ParameterDescriptionFormatRequired or optionalExample
userIdThe ID of the userIntegerRequired2903
isSelfUpdateIf you are updating your own notification preferencesBooleanRequiredtrue
NotificationPreferencesArray of notification preferencesUserNotificationPreferences[]Required[ ]


...

Sample return

StatusResponse
200
Code Block
languagetext
true
400
Code Block
languagetext
"Invalid Request"

...