Irreversible operation. It logs out from WhatsApp, removes the whatsmeow session and wipes every record from the database (settings, webhook, websocket, chatwoot, settings, S3 and the instance itself). Back up anything you need beforehand.
Does not accept TokenInstance, an instance cannot ask for its own removal. Use the TokenAccount of the owner account.
Sends a DELETE to the instance path using the TokenAccount. The operation is irreversible: it terminates the whatsmeow session, logs out from WhatsApp and removes every record from the database (settings, webhook, websocket, chatwoot, proxy, S3 and the instance itself).
After deletion, creating a new instance with the same name may occasionally conflict with the asynchronous whatsmeow cleanup. If that happens, wait a few seconds and try again.