Ledger balances

Delete balance monitor

Delete a balance monitor with the Go SDK.

DEL/balance-monitors/{monitor_id}

Use client.BalanceMonitor.Delete to remove a balance monitor by its ID.

Call the method

deleted, _, _ := client.BalanceMonitor.Delete(
	"mon_e0e77b0c-4985-472a-9bf5-76a48b0259b0",
)
FieldTypeDescription
monitorIDstringMonitor ID to delete. Must be non-empty.

Response

{
  "message": "BalanceMonitor deleted successfully"
}

Go response (*blnkgo.DeleteBalanceMonitorResponse)

FieldTypeDescription
MessagestringConfirmation that the monitor was deleted.