setNotifications.md
August 22, 2020 ยท View on GitHub
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"
}