👥 Groups

Demotes participants to regular users.

post/api/{session}/groups/{id}/admin/demote

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/groups/{id}/admin/demote
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

idstring required
Example:123123123@g.us

Group ID

Request body

Example request

{
  "participants": [
    {
      "id": "123456789@c.us"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.