Delete User Profile


This endpoint enables you to delete a user profile.


GUIDs Limit

You can pass a maximum of 100 IDs or globally unique identifiers (GUIDs) per request.

For more information on request limit, refer to API Request Limit.

Base URL

Here is an example base URL from the account in the India region:


Refer Region for more details.

HTTP Method



Refer Headers for more details.

Body Parameters

The body is uploaded as a JSON payload.

ParameterDescriptionRequiredTypeExample Value
identityCustom user identity defined by you.optionalstring/array["client-19827239", "abc"]
guidCleverTap ID.optionalstring/array["ctid123", "ctid456"]



For a successful API request, make sure one of the optional parameters, either identity or guid is present in the body parameter.

Below is an example payload.

	"identity": ["client-19827239", "abc"]
	"identity": "client-19827239"
	"guid": ["ctid123", "ctid456"]
	"guid": "clientid123"

Example Request

Here is an example cURL request to the Delete User Profile API showing the headers needed to authenticate the request from the account in the India region:

curl -X POST -d '{"guid":"df2e224d90874887b4d61153ef3a2508"}' "" \
-H "X-CleverTap-Account-Id: ACCOUNT_ID" \
-H "X-CleverTap-Passcode: PASSCODE" \
-H "Content-Type: application/json; charset=utf-8"
require 'net/http'
require 'uri'
require 'json'

uri = URI.parse("")
request =
request.content_type = "application/json; charset=utf-8"
request["X-Clevertap-Account-Id"] = "ACCOUNT_ID"
request["X-Clevertap-Passcode"] = "PASSCODE"
request.body = JSON.dump({
  "guid" => "df2e224d90874887b4d61153ef3a2508"

req_options = {
  use_ssl: uri.scheme == "https",

response = Net::HTTP.start(uri.hostname, uri.port, req_options) do |http|
import requests

headers = {
    'X-CleverTap-Account-Id': 'ACCOUNT_ID',
    'X-CleverTap-Passcode': 'PASSCODE',
    'Content-Type': 'application/json; charset=utf-8',

data = '{"guid":"df2e224d90874887b4d61153ef3a2508"}'

response ='', headers=headers, data=data)
$headers = array(
    'X-CleverTap-Account-Id' => 'ACCOUNT_ID',
    'X-CleverTap-Passcode' => 'PASSCODE',
    'Content-Type' => 'application/json; charset=utf-8'
$data = '{"guid":"df2e224d90874887b4d61153ef3a2508"}';
$response = Requests::post('', $headers, $data);
var request = require('request');

var headers = {
    'X-CleverTap-Account-Id': 'ACCOUNT_ID',
    'X-CleverTap-Passcode': 'PASSCODE',
    'Content-Type': 'application/json; charset=utf-8'

var dataString = '{"guid":"df2e224d90874887b4d61153ef3a2508"}';

var options = {
    url: '',
    method: 'POST',
    headers: headers,
    body: dataString

function callback(error, response, body) {
    if (!error && response.statusCode == 200) {

request(options, callback);
type Payload struct {
	GUID string `json:"guid"`

data := Payload{
// fill struct
payloadBytes, err := json.Marshal(data)
if err != nil {
	// handle err
body := bytes.NewReader(payloadBytes)

req, err := http.NewRequest("POST", "", body)
if err != nil {
	// handle err
req.Header.Set("X-Clevertap-Account-Id", "ACCOUNT_ID")
req.Header.Set("X-Clevertap-Passcode", "PASSCODE")
req.Header.Set("Content-Type", "application/json; charset=utf-8")

resp, err := http.DefaultClient.Do(req)
if err != nil {
	// handle err
defer resp.Body.Close()

Example Response

  "status": "success"


To understand the common queries and concerns related to CleverTap APIs, refer to API FAQs.


Data Processing Rule

Once a request is accepted, CleverTap processes the data during non-business hours. Processing this request leads to the permanent deletion of profiles along with their event data that can not be recovered. For more information, refer to Restoring the Delete Data.