NodePing.Contacts.mute_contact_method-exclamation-mark

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

mute_contact_method!(token, id, duration, customerid \\ nil)

View Source

Mute a contact method for a specified durtion in seconds. Note that the contact has to be the ID in the "addresses" portion of a contact.

NOTE: This makes a GET request to the API before doing a PUT

Parameters

  • token - NodePing API token that was provided with account
  • id - the ID for the contact method you want to mute
  • duration - time to mute the contact method in seconds
  • customerid - optional ID to access a subaccount