cURL
curl --request POST \ --url https://{host}/api/{session}/groups/{id}/invite-code/revoke \ --header 'apikey: <api-key>'
{ "success": true, "newCode": "NewCode789Xyz" }
Revoke the current invite code and generate a new one
[email protected]
200
400
401
403
404
curl -X POST https://api.wappfy.com.br/api/my-session/groups/[email protected]/invite-code/revoke
Your Wappfy API key (get it at dash.wappfy.com.br)
ID do Grupo
The response is of type string.
string