Skip to main content
POST
Promote to admin

Authorizations

Authorization
string
header
required

Scoped API key created via POST /api/account/keys.

Path Parameters

session
string
required

Session name

id
string
required

Group JID

Body

application/json

Participants to promote

participants
string[]
required

JIDs of participants to add or remove

session
string
required

Session identifier

Example:

"default"

Response

OK

Simple success/failure response with no data payload

message
string

Human-readable result message

success
boolean

Whether the operation succeeded