POST
Change Settings
Update subject, description, announcement, ephemeral, etc.
API endpoint
https://waclient.com/api/change_community_settingsExample:
curl -X POST \
'https://waclient.com/api/change_community_settings' \
-H 'Content-Type: application/json' \
--data '{
"community_id": "[email protected]",
"subject": "Updated Community",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"community_id": "[email protected]",
"updated": true
}
}| Parameter | Description |
|---|---|
| community_id | Community JID or ID |
| subject | New community name (Optional) |
| description | New description (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |