Reset the current browser visitor

Explicit widget shutdown/logout lifecycle. Revokes the presented browser visitor when it still resolves, without deleting conversation records. The response is idempotent so it cannot reveal whether a visitor secret was valid. Clear the locally stored secret after success; a later history-capable init creates a clean anonymous visitor. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.

Headers

x-visitor-tokenstringOptional

The visitor secret to revoke. Omit when local storage is already empty; reset remains idempotent.

Query parameters

sessionIdstringRequired

Live client session id from /client/init.

Response

Visitor reset accepted.
resetboolean
Always true after the reset request is accepted, including when the supplied visitor was already expired or revoked.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error