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