NodePing.Accounts.disable_notifications-exclamation-mark

You're seeing just the function disable_notifications-exclamation-mark, go back to NodePing.Accounts module for more information.
Link to this function

disable_notifications!(token, accountsuppressall, customerid \\ nil)

View Source

Disable notifications on your account or subaccount

Parameters

  • token - NodePing API token that is provided with account
  • accountsupressall - boolean value. true disables notifications, false enables them
  • customerid - optional customerid if you want to disable notifications on a subaccount

Examples

iex> token = System.fetch_env!("TOKEN")
iex> subaccount = System.fetch_env!("SUBACCOUNT")
iex> {:ok, result} = NodePing.Accounts.disable_notifications!(token, true, subaccount)