cURL
curl --request POST \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/communities/settings \ --header 'Client-Token: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "communityId": "<string>", "whoCanAddNewGroups": "<string>" } '
Changes community settings
Documentation IndexFetch the complete documentation index at: https://developer.z-api.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
Use this file to discover all available pages before exploring further.
admins
all
{ "communityId": "98372465382764532938", "whoCanAddNewGroups": "admins" }
{ "success": true }