Revoke a widget session
Transitions a session to STATE_REVOKED. New operations reject outstanding tokens after revocation commits; existing streams stop delivering events and close within 10 seconds, independently of frontend renewal. The session’s secrets are deleted. Terminal: issuance cannot reactivate the session. Already accepted actions may finish; revocation does not roll back external effects.
Authorizations
Path Parameters
Body
Revoke widget session request.
Response
OK
WidgetSession is a delegated, narrowed credential for one visitor's use of a widget, minted server-to-server by the customer's backend. The session carries all customer-asserted context — tenant, subject, labels, secrets — and every conversation (objective) created through the widget inherits it. The browser renews short-lived bearer tokens at the widget host with RenewWidgetSession, authenticated by its existing token. Renewal preserves this bounded grant and does not extend its hard expiry.