Skip to main content

Uniphore Customer Portal

Right to Forget API

The API generates a unique request-id and launches the async deletion operation of the MongoDB collections.

Endpoint

Method: DELETE

URL: data/customer/{customer-id}

Request
curl -H "nonce-token: hYuDOuy8X0li8ZGBNPITakAtpi5tQ8ZY/rQ8GiAWfPc=" -H "Authorization: Bearer 911999706310ffbcb32981863e23ce72d5e60d7b" -XDELETE https://api.{region}.cloud.uniphore.com/config/backend/v2/data/customer/{customer-id}
Header Parameters

Header Parameters

Description

Authorization

Bearer <Token> is used to authenticate this API. The access token should be sent with all client requests. The access token helps the server to validate the request source.

nonce token

nonce token is used to protect API from data reply attacks. Whenever a delete request is sent, we should send a new nonce token.

The nonce token can be obtained through GET nonce token API.

For details on fetching nonce token, click here.

Path Parameter

Path Parameter

Description

customer id

ID of the customer whose PII needs to be deleted from the mongo database collection.

The customer id can be extracted from the audio logger/connector. The procedure to collect the customer id is defined in the Admin guide under the section Extract Customer id from Audio Logger/Connector.

Example Response
{
  "data": {
    "requestId": "12121212",
    "startTime": 121212121,
    "status": "in-progress",
    "userId": 1
  }
}
Response Parameters

Response Parameters

Description

requestId

A unique id for the delete request

startTime

Start time of the delete request placed

status

Status of the delete request. The status can be:

  • in-progress

  • completed

  • error

userId

The Id of the user whose PII need to be deleted. The customer-id in the request and userId in the response are the same.

Response and Error Codes

Response and Error Code

Description

200

The delete request is processed and display the above given response.

401

Authentication failed

404

Invalid customer-id

500

Internal server error