Delete group invite link

Revokes the current invite link for a WhatsApp group so it can no longer be used to join.

Request parameters

Path parameters

KeyDescriptionValuesData TypeRequired/Optional
appIdIdentifier of the WhatsApp app the call acts on.6f414190-d45c-4671-bca1-fb6c3018cb13StringRequired
groupIdIdentifier of the WhatsApp group.120363021051234567StringRequired

Body

KeyDescriptionValuesData TypeRequired/Optional
messaging_productAlways "whatsapp"whatsapp—Required

Sample cURL — Delete group invite link.

curl --request DELETE \
  --url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/group/120363021051234567/invite_link' \
  --header 'Authorization: Bearer <UT>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "messaging_product" : "whatsapp"
}'

Sample success response (200)

{
  "status": "success",
  "data": {
    "messaging_product": "whatsapp",
    "request_id": "B2C3D4E5F6G7H8I9J0K1L2M3N4O5P6Q7"
  }
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
Body Params

Only messaging_product is required.

Product selector, the only field these operations take

Responses

Language
Credentials
Bearer
Universal Token (UT)
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json