set room affiliation api for multiple users

When i am setting affiliations from ejabberd api i am using json post , but for multiple user for example 100 users i must send api 100 times. Can i send list or samething ? for send one time.

thanks

POST /api/set_room_affiliation
  {
    "name": "aaaaa",
    "service": "bbbbb",
    "jid": "ccccc",
    "affiliation": "ddddd"
  }

Not possible with the current

Not possible with the current command. Of course you can modify the command source code.

Syndicate content