Skip to main content

Update end user session for alias

PATCH 

/v2/agent_aliases/:alias_key/end_user_sessions/:session_key

Changes the description of a session the caller owns, addressed by the alias it was created through. Returns 403 if the session belongs to a different principal. This is a partial update: a field left out of the request keeps its current value, and a request with no fields changes nothing and returns the session as it is. A description set here is not replaced by a generated one, and later streamed responses carry it in the session_description event. An administrator calling this operation is bound to the sessions it owns like every other caller; the operator endpoints are the administrative view of an alias's sessions. Anonymous widget visitors authenticate by presenting X-Visitor-Id instead of an Authorization credential; the platform mints an identity holding agent_end_user on the addressed alias, which satisfies this operation's role requirement.

Request​

Responses​

The session after the update.