How to remove the contact details after end chat - Javascript | Community
Skip to main content

How to remove the contact details after end chat - Javascript

  • September 2, 2021
  • 1 reply
  • 0 views

How can I remove the contact details (name, email) after ending a chat.

I was able to end the chat using 

window.zE('webWidget', 'chat:end');

but unable to remove the contact details.

1 reply

  • September 3, 2021

https://developer.zendesk.com/api-reference/widget/core/#logout

You will want to use the Web Widget logout function.

-Ramin