NodePing.Checks.disable_all_checks

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

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

View Source

Specs

disable_all_checks(
  token :: bitstring(),
  disableall :: boolean(),
  opts :: list()
) :: tuple()

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> {:ok, result} = NodePing.Checks.disable_all_checks(token, disableall, opts)