NodePing.Maintenance.delete

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

delete(token, id, customerid \\ nil)

View Source

Remove an ad-hoc or scheduled maintenance.

## Parameters

  • token - NodePing API token that is provided with account
  • id - maintenance id
  • customerid - optional ID to access a subaccount

## Examples

iex> token = System.fetch_env!("TOKEN")
iex> id = "NZT101"
iex> {:ok, result} = NodePing.Maintenance.delete(token, id)