> 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).

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
