Instance
Delete Instance
Removes the instance and all of its data. Irreversible operation
DELETE
Delete Instance
Auth:
TokenAccount • Rate-limit: Global (100/min) • Idempotent: yes
Does not accept TokenInstance, an instance cannot ask for its own removal. Use the TokenAccount of the owner account.
Example
Sends aDELETE 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).
Success response
200 OK
Path parameters
string
required
Name of the instance to delete.
Headers
string
required
Your TokenAccount (only the instance owner can delete it).
What happens on delete
- If the instance was connected, RyzeAPI performs a WhatsApp logout (the device disappears from the linked-devices list on the phone).
- Webhooks, WebSocket, Chatwoot integration and settings are removed.
- All instance records are wiped from the database.
- If you had S3 configured, files already uploaded to the bucket are not deleted, manage the bucket separately.
Errors
Notes
Next
Create a new instance
Provisions a new one in its place, optionally with inline webhook, websocket and chatwoot.
Logout without deleting
If you only want to disconnect from WhatsApp while keeping the instance.