NodePing.Checks.disable_all_checks-exclamation-mark

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

disable_all_checks!(token, disableall, opts \\ [])

View Source

Disable a check present on your NodePing account or specified subaccount

Parameters

  • token - NodePing API token that is provided with account
  • id - the check ID that you want to delete
  • customerid - optional ID to access a subaccount
  • disableall - boolean value. true = disable all, false = re-enable those checks
  • opts - a keyword list with keys of :type, :label, :target, :customerid as possible options

Examples

iex> opts = [{:type, "PING"}, {:target, "example.com"}]
iex> disableall = true
iex> result = NodePing.Checks.disable_all_checks!(token, disableall, opts)