NodePing.Accounts.delete_subaccount
You're seeing just the function
delete_subaccount
, go back to NodePing.Accounts module for more information.
Delete your NodePing subaccount
Parameters
token
- NodePing API token that is provided with accountcustomerid
- 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