cURL
curl --request POST \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/redefine-invitation-link/{communityId} \ --header 'Client-Token: <api-key>'
{ "invitationLink": "<string>" }
Redefines the invitation link of a community
{ "invitationLink": "https://chat.whatsapp.com/C1adgkdEGki7554BWDdMkd" }