https://discord.gg/botpress logo
How should we verify that a Conversation was perma...
# 🤝help
d
After: DELETE /conversations/{id} returns successfully, what should an application treat as authoritative confirmation that the Conversation is permanently deleted? For example, should: GET /conversations/{id} immediately return not found? And should the Conversation immediately disappear from Conversation list/search APIs? Are reads/lists strongly consistent after deletion, or can a recently deleted Conversation remain visible for some period? We want to perform an automated deletion verification rather than assume that a successful DELETE response means all stored Conversation data is already gone.
e
i mean in a databse it‘s immediate. but may still return when you cashed respones. you‘d have to amke sure that cashes are invalidated over every user. but in general a get request to this endpoint with an 404 response is absolutely enough.