> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-sdk-deprecated-versions-all-platforms.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-sdk-deprecated-versions-all-platforms/2dwC_ia7qeukQA5H/images/moengage_bb31ce.png?fit=max&auto=format&n=2dwC_ia7qeukQA5H&q=85&s=341cb3bf1b860443917a29fbaf6c41dd" 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-sdk-deprecated-versions-all-platforms/SgLgI1ciWt54LpxM/images/moengage_2869f1.png?fit=max&auto=format&n=SgLgI1ciWt54LpxM&q=85&s=49cea38114a770a2b3f042df276b3cb3" 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-sdk-deprecated-versions-all-platforms/f2EcLyVfEkQtCZEh/images/moengage_7f0908.png?fit=max&auto=format&n=f2EcLyVfEkQtCZEh&q=85&s=70fc9ad79a24b02ef0287068019413a1" 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-sdk-deprecated-versions-all-platforms/F4AX-8H1I4s7GmM8/images/moengage_bff7dc.png?fit=max&auto=format&n=F4AX-8H1I4s7GmM8&q=85&s=6bf437acf6d6b509e22a7a557b64e1fc" 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>
