put https://{host}/v2/requests
Allows to approve or reject the deletion requests and update the deletion status accordingly.
Note
- The API does not allow bulk status change.
- After approval, the PII deletion happens after the configured number of days.
Example request
curl --location --request PUT 'https://eu.intouch.capillarytech.com/v2/requests' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'Authorization: Basic bmVlcmFqLmRvYzpiNGFmODA0MDA5Y2IwMzZhNGNjZGMzMzQzMWVmOWFjOQ==' \
--data '[
{
"type": "CUSTOMER",
"baseType": "DELETE",
"id": "13538087",
"status": "APPROVED",
"comments": "Seems to be a valid request, hence approving"
}
]'
Body parameters
Parameter Parameters marked with are mandatory. | Type | Description |
---|---|---|
type* | string | Type of the data. Only CUSTOMER type is supported. |
baseType* | string | Type of the operation. In this context, DELETE is the baseType. |
id* | string | PII deletion request ID. |
status* | string | PII deletion status that needs to be set. For example, APPROVED, REJECTED and CANCELLED. |
comments | string | Comments or description for the operation |
Response
Parameter | Description |
---|---|
entityId | Deletion request id. |
warnings | Displays the warning message |
result | Indicates whether the update was successful. True-No error, False-error. |
totalCount | Total requests updated |
failureCount | Total update requests failed |