NodePing.Schedules.delete

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

delete(token, name, customerid \\ nil)

View Source

Delete a schedule by its name (ID) on your account or subaccount

Parameters

  • token - NodePing API token that is provided with account
  • name - The name or ID of the schedule to delete
  • customerid - optional ID to access a subaccount

Examples

iex> token = System.fetch_env!("TOKEN")
iex> name = "My work schedule"
iex> {:ok, result} = NodePing.Schedules.delete(token, name)