This API is used to delete a customer profile.

🚧

Cautionary Notice

This process is irreversible. Once a customer profile is deleted, it cannot be recovered. However, a new customer profile can be created with the same customer id.

Request

The delete profile request is specified as follows:

URLhttps://api.imiconnect.io/resources/v2/customerprofile/
**
customerid**: A client specific ID (such as CRN) to uniquely identify a customer.
MethodDELETE

Request Headers

The following table describes the request headers:

Request HeaderDescription
keyClient profile key
content-typeapplication/json

📘

For data privacy and security reasons, the REST API is served over encrypted HTTPS. Standard HTTP is not supported.

##Request Examples
https://api.imiconnect.io/resources/v1/customerprofile/1234
https://api.imiconnect.io/resources/v1/customerprofile?customerId=1234&customerId=1235
##Response Examples
{
    "response": {
        "code": "1001",
        "description": "Queued",
        "transid": "5198ee77-51c8-42ac-5a58-ee6e062cae8a"
    }
}
{
    "response": {
        "code": "1001",
        "description": "Queued",
        "transid": "5257ee77-53c8-12ac-8a58-ee6e062cae8a"
    }
}

📘

To know the status of the request

Use transid from the response and make a Get Profile status API call to get status of the request.

Response Codes

Following are the response codes this method may return:

Response CodeMessageDescription
1000QueuedReturned when the request is queued.
7001Authentication failedReturned when an invalid service key or profile key is provided in the request.
7002Service Key MissingReturned when the parameter key is missing in the message request.
7003Mandatory parameters missingClick here
7203Customer not foundClick here
7208Source IP is not whitelistedReturned when a request is sent from an IP that is not whitelisted in IMIconnect.
Language
Credentials
Header
Copyright © 2000 - 2021 IMImobile Limited | All Rights Reserved