NodePing.Schedules.delete
You're seeing just the function
delete
, go back to NodePing.Schedules module for more information.
Delete a schedule by its name (ID) on your account or subaccount
Parameters
token
- NodePing API token that is provided with accountname
- The name or ID of the schedule to deletecustomerid
- 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)