NodePing.Accounts.delete_subaccount-exclamation-mark

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

delete_subaccount!(token, customerid)

View Source

Delete your NodePing subaccount

Parameters

  • token - NodePing API token that is provided with account
  • customerid - The subaccount ID for the subaccount you want to delete

Examples

iex> token = System.fetch_env!("TOKEN")
iex> subaccount = System.fetch_env!("SUBACCOUNT")
iex> {:ok, result} = NodePing.Accounts.delete_subaccount!(token, subaccount)
iex> is_map(result)
true