> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-analytics-query-api-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Use the Delete API Through a Connector Campaign to Delete Multiple User Profiles?

> Delete multiple user profiles in MoEngage without developer help. Use the Delete API via a connector campaign with a custom user segment to bulk remove.

You can use the Delete API through a connector campaign to delete multiple user profiles without requiring a development or IT team.

## Instructions

Perform the following steps:

1. **Create a custom segment:**
   * Identify all users you want to delete from MoEngage and create a custom segment for them.
2. **Set up a connector campaign:**
   * Create a **One-Time Custom Connector campaign**.
     <img src="https://mintcdn.com/moengage-analytics-query-api-docs/tTfPzvGgGO8QS9Fo/images/moengage_bb31ce.png?fit=max&auto=format&n=tTfPzvGgGO8QS9Fo&q=85&s=99b19704e7d1dac6edce683be52aab03" alt="custom connector.png" width="640" height="360" data-path="images/moengage_bb31ce.png" />
   * Select the custom segment created as the Audience for this campaign
     <img src="https://mintcdn.com/moengage-analytics-query-api-docs/dKEqeh2ILfSrPmB2/images/moengage_2869f1.png?fit=max&auto=format&n=dKEqeh2ILfSrPmB2&q=85&s=0a06c80831cc7e5008cea1ad3957643a" alt="user audience.png" width="640" height="359" data-path="images/moengage_2869f1.png" />
3. **Configure the API request:**
   * In the Step 2 **Content** page, add the API information in a POST call with appropriate headers and key-value pairs.
     <img src="https://mintcdn.com/moengage-analytics-query-api-docs/FeDOaUaZp6fDSte_/images/moengage_7f0908.png?fit=max&auto=format&n=FeDOaUaZp6fDSte_&q=85&s=b98c788f5be2210698ff0d620a5ce214" alt="content api.png" width="1024" height="580" data-path="images/moengage_7f0908.png" />
   * Use the following keys and values:
     * Key: identity\_type ; Value: customer\_id
     * Key: identity\_value; Value: Use @ to personalize the ID dynamically for this key.
     * Refer to the [sample cURL request for the Delete API](https://www.moengage.com/docs/api/user/delete-users).
       <img src="https://mintcdn.com/moengage-analytics-query-api-docs/U3b_LbDL6ZrBKo8L/images/moengage_bff7dc.png?fit=max&auto=format&n=U3b_LbDL6ZrBKo8L&q=85&s=d5f072e5a1fc03391ab3b284f8e823e2" alt="key value.png" width="1280" height="254" data-path="images/moengage_bff7dc.png" />
4. **Set delivery control:**
   * To avoid request failures, set the request limit in delivery control to 4,000 requests per minute.
5. **Publish the campaign:**
   * Publish the campaign to delete all users in the specified custom segment.

<Info>
  * This method does not apply to deleting anonymous user profiles.
  * Please contact your MoEngage Customer Success Manager (CSM) or the Support team to request the deletion of user profiles.
</Info>
