Leave Group
DELETE/api/v2/instance/:instanceId/group/:groupJid/leave
Leave Group
Request
Path Parameters
instanceId stringrequired
The unique identifier of the group.
groupJid stringrequired
The unique identifier of the group whose invitation will be revoked.
Responses
- 200
 - 400
 - 401
 - 500
 
Response Success
- application/json
 
- Schema
 - Example (from schema)
 
Schema
- Array [
 - ]
 
id stringrequired
owner stringrequired
subject stringrequired
subjectOwner string
subjectTime number
creation string
leave number
desc string
descOwner string
descId string
restrict boolean
announce boolean
size number
participants object[]required
id stringrequired
name string
notify string
verifiedName string
imgUrl string
status string
isAdmin boolean
isSuperAdmin boolean
admin string
Default value: admin | superadmin
ephemeralDuration number
inviteCode string
{
  "id": "string",
  "owner": "string",
  "subject": "string",
  "subjectOwner": "string",
  "subjectTime": 0,
  "creation": "string",
  "leave": 0,
  "desc": "string",
  "descOwner": "string",
  "descId": "string",
  "restrict": true,
  "announce": true,
  "size": 0,
  "participants": [
    {
      "id": "string",
      "name": "string",
      "notify": "string",
      "verifiedName": "string",
      "imgUrl": "string",
      "status": "string",
      "isAdmin": true,
      "isSuperAdmin": true,
      "admin": "admin | superadmin"
    }
  ],
  "ephemeralDuration": 0,
  "inviteCode": "string"
}
BadRequestException
- application/json
 
- Schema
 - Example (from schema)
 
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
  "message": [
    "string"
  ],
  "error": "string",
  "statusCode": 0
}
UnauthorizedException
- application/json
 
- Schema
 - Example (from schema)
 
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
  "message": [
    "string"
  ],
  "error": "string",
  "statusCode": 0
}
InternalServerErrorException
- application/json
 
- Schema
 - Example (from schema)
 
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
  "message": [
    "string"
  ],
  "error": "string",
  "statusCode": 0
}
Loading...