NodePing.Checks.delete_check

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

delete_check(token, id, customerid \\ nil)

View Source

Delete 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

Examples

iex> token = System.fetch_env!("TOKEN")
iex> check_id = "201205050153W2Q4C-0J2HSIRF"
iex> {:ok, result} = NodePing.Checks.delete_check(token, check_id)