NodePing.ContactGroups.delete

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

delete(token, id, customerid \\ nil)

View Source

Delete a contact group from your NodePing account or subaccount.

Parameters

  • token - NodePing API token that is provided with account
  • id - the ID for your contact group
  • customerid - optional ID to access a subaccount

Examples

iex> token = System.fetch_env!("TOKEN")
iex> id = "201205050153W2Q4C-G-3QJWG"
iex> {:ok, result} = NodePing.ContactGroups.delete(token, id)