Назначить права администратора группы
POST
/waInstance{{idInstance}}/setGroupAdmin/{{apiTokenInstance}}Документация SetGroupAdmin
Request
Body Params application/json
groupId
string
required
participantChatId
string
required
Example
{
"groupId": "79001234567-1587570015@g.us",
"participantChatId": "79001234565@c.us"
}
Request samples
Responses
setGroupAdmin(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
setGroupAdmin
boolean
required
ExamplesetGroupAdmin
{
"setGroupAdmin": true
}
Last modified: 18 days ago