Delete A Group

Use this API to delete a group

Parameter description:

Parameter

Required

Description

clientGroupId

Yes

Group unique identifier

resetCount

No

To reset group users unread-count

📘

Note:

In case of Application Bot calling the API, Of-User-Id header is required.
Of-User-Id is the userId of the group admin user on behalf of which application bot wants to delete the group.

🚧

Note:

Only Group Admin can delete the group otherwise the following error will be displayed:

{
  "status":"error",
  "errorResponse":[
    {
      "errorCode":"AL-UN-01",
      "description":"unauthorized user",
      "displayMessage":"Unable to process"
    }
  ],
  "generatedAt":1452348983616   // time value at which response is generated from server
}
Language
Authentication
Click Try It! to start a request and see the response here!