Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 691 Bytes

setNotifications.md

File metadata and controls

37 lines (28 loc) · 691 Bytes

Set Account Nofification Flags

POST /api/v1/accounts/{AccountID}/notifications/configuration

Headers

  • Content-Type - application/json
  • TOKEN-AUTH - session auth token

Body

  • notification object - see example request

Response

see example

Example Request

curl --request POST \
  --url https://rest-prod.immedia-semi.com/api/v1/accounts/1234/notifications/configuration \
  --header 'content-type: application/json' \
  --header 'token-auth: {Auth_Token}' \
  --data '{
  "notifications": {
    "low_battery": false
  }
}'

Example Response

200 OK

{
  "message": "Client Notification Configure Update Successful"
}