탐색으로 건너뛰기

Erase user memory

Erase what this agent remembers about an end user: it stops drawing on their earlier conversations, and what it learned from them is deleted. With opt_out, it also stops remembering them in future ones. Other agents’ memories of the user are kept. The conversations themselves are not deleted; use the Delete Conversation endpoint for that.

경로 매개변수

agent_idstring필수
The id of an agent.

헤더

xi-api-keystring선택 사항

요청

This endpoint expects an object.
user_idstring필수

ID of the end user whose memory the agent is to erase. Find it from the user_id your conversation initiation data sent with Find Agents User By Identity.

opt_outboolean or null선택 사항
True turns the agent's memory off for this user in future conversations, false turns it back on. Left out, the user's current setting is kept.

응답

성공 응답

erased_at_unix_secsinteger
The agent remembers nothing about the user from before this time.
opted_outboolean
Whether the agent's memory is off for this user in future conversations.

오류

422
Unprocessable Entity Error