devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Two engines: chromium-based WEBJS and pure-websocket NOWEB
https://waha.devlike.pro/
Apache License 2.0
943 stars 283 forks source link

Is there a way to replace the proxy for a session without deleting? #202

Closed dv336699 closed 1 year ago

dv336699 commented 1 year ago

I have set a proxy for a session and I think that the only way replace it is to delete and recreate the session.

allburov commented 1 year ago

Not delete, just stop and start again (no QR scan should be required after that) Yes, it's the only possible way to do it right now, but we'll look at that!

allburov commented 1 year ago

Oh, sorry, you were talking about proxy, I thought about webhooks... In that case - it's not possible:( We only can configure session webhooks in the runtime

Only stop/start cycle (still no QR required)

dv336699 commented 1 year ago

@allburov thanks, is there a way to update a session proxy?

Can't see to find anything here https://waha.devlike.pro/docs/how-to/sessions/

allburov commented 1 year ago

Stop and start it again with a new proxy