---
title: "Revoke current invite code and generate a new one"
method: POST
path: "/group/revokeInviteCode/{instance}"
tags: ["Group"]
---

# Revoke current invite code and generate a new one

`POST /group/revokeInviteCode/{instance}`

## Path parameters

- `instance` string, required

## Request body

- DtoGroupRevokeInviteRequest
  - `groupJid` string, required

## Response `201`

Created

- WhatsmiauInviteCodeResponse
  - `inviteCode` string
  - `inviteUrl` string

---

[API](https://skmtc.net/verbeux-ai/apis/whatsmiau-api.md) · [All operations](https://skmtc.net/verbeux-ai/apis/whatsmiau-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verbeux-ai/whatsmiau-api/versions/5af3cb49985a/schema)
