To delete an identity from the directory using its personId
, use the following API request:
API Request | Description | Notes |
---|---|---|
curl -v -X DELETE -H "X-RPC-DIRECTORY: main" -H "X-RPC-AUTHORIZATION: userid:pwd" "http://localhost:8080/people/866e75a6-e22a-4077-97bb-e5dbfe1c513e?recursive=true" | Use an identity's personId to delete it from the Identity Database. |
The recursive=true parameter ensures that all persons merged into the same identity are deleted. Each merged person may be represented with different face modalities of the person (e.g. with sunglasses, without sunglasses, and with makeup). If not specified, only a specific person (i.e. face modality) is deleted while retaining others (if they exist). |