NodePing.Checks.mute_check

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

mute_check(token, id, checktype_struct, duration, customerid \\ nil)

View Source

Specs

mute_check(
  token :: bitstring(),
  id :: bitstring(),
  checktype_struct :: struct(),
  duration :: non_neg_integer() | boolean(),
  customerid :: bitstring() | nil
) :: tuple()

Mute all notifications for the specified check

Parameters

  • token - NodePing API token that is provided with account
  • id - the checkid that will be muted
  • checktype_struct - the NodePing.Checktypes that defines the check you are trying to mute
  • duration - duration in seconds that the check will be muted
  • customerid - optional customerid for subaccount