Invalidate a user’s embed token by rotating their signing secret. This makes any existing embed tokens for this user invalid without generating a new token.
cURL
curl --request DELETE \ --url https://playground.answeringagent.com/api/v1/users/{external_id}/embed-token \ --header 'X-API-KEY: <api-key>'
{ "user_id": "customer_123", "message": "Embed token invalidated successfully" }
The external ID of the user
Embed token invalidated successfully.
"customer_123"
"Embed token invalidated successfully"