> For the complete documentation index, see [llms.txt](https://help.pickyassist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickyassist.com/api-documentation-v2/whatsapp-group-api/group-delete-actions.md). Agents can also search and read this documentation through its [MCP server](https://help.pickyassist.com/~gitbook/mcp).

# Group Delete Actions

Below API allows to perform various actions like , delete group icon, delete group invite link, leave from group etc

{% hint style="warning" %}
A group will become inactive when it doesn't have any members. So if you want to delete a group then first delete the group invite link then remove all members and admin from the group and last you can leave yourself from the group.
{% endhint %}

## Group Delete Actions

<mark style="color:green;">`POST`</mark> `https://pickyassist.com/app/api/v2/delete-group-action`

This API allows you to  perform various actions like , delete group icon, delete group invite link, exit from group etc

#### Request Body

| Name      | Type   | Description                                                                                                                                                                                                                                                                                            |
| --------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token     | string | Your API Token for Authorisation                                                                                                                                                                                                                                                                       |
| group\_id | string | Pass the Group ID for which you would like to generate a new invite link                                                                                                                                                                                                                               |
| action    | number | <p>You need to specify what kind of action you want to perform , below are the type of available actions<br><br>1=Delete Group Icon<br>2=Delete Invite URL<br><br><strong>3=Delete/Leave Group</strong><br><br><strong>1 & 2 actions not supported in WhatsApp Web Automation</strong><br><br><br></p> |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "status": 100,
    "message": "Success"
}
```

{% endtab %}
{% endtabs %}

## Sample Request Body JSON

```javascript
{
	"token": "7b18871699f225850e9832a24547105cfe3",
	"group_id": "194055074-1618213",
	"application":10,
	"action" : 3
}

```

## Sample Response

```javascript
{
    "status": 100,
    "message": "Success"
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.pickyassist.com/api-documentation-v2/whatsapp-group-api/group-delete-actions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
