cURL
curl --request DELETE \ --url https://api.botpress.cloud/v1/chat/users/{id} \ --header 'Authorization: Bearer <token>' \ --header 'x-bot-id: <api-key>'
{}
Permanently deletes a User. It cannot be undone.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Your bot ID.
User ID
Returns the User object that was deleted
The response is of type object.
object
Was this page helpful?