NodePing.Checks.disable_all_checks
You're seeing just the function
disable_all_checks
, go back to NodePing.Checks module for more information.
Specs
Disable a check present on your NodePing account or specified subaccount
Parameters
token
- NodePing API token that is provided with accountid
- the check ID that you want to deletecustomerid
- optional ID to access a subaccountdisableall
- boolean value. true = disable all, false = re-enable those checksopts
- 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)