Delete

Deletes a user for the specified UID

The user can be deleted from the CometChat application.

If the permanent flag is set to true, the user is permanently deleted from the application

  • all the messages sent by the user are also deleted
  • the conversation is removed.
  • the user is removed from all the groups that they were a part of

Sample request:

DELETE /users/:uid HTTP/1.1
Content-type: application/json
Accept: application/json

{
  "permanent": boolean
}
Language
Authorization
Header
URL
Click Try It! to start a request and see the response here!