Skip to content
Get started

Bulk delete feedback records by user identifier

DELETE/v1/feedback-records

Permanently deletes all feedback record data points matching the specified user_identifier. This endpoint supports GDPR Article 17 (Right to Erasure) requests.

Query ParametersExpand Collapse
user_identifier: string

Delete all records matching this user identifier (required). NULL bytes not allowed.

minLength1
tenant_id: optional string

Filter by tenant ID (optional, for multi-tenant deployments). NULL bytes not allowed.

ReturnsExpand Collapse
deleted_count: number

Number of records deleted

formatint64
message: string

Human-readable status message

Bulk delete feedback records by user identifier

curl http://localhost:8080/v1/feedback-records \
    -X DELETE \
    -H "Authorization: Bearer $HUB_API_KEY"
{
  "deleted_count": 42,
  "message": "Successfully deleted 42 feedback records"
}
Returns Examples
{
  "deleted_count": 42,
  "message": "Successfully deleted 42 feedback records"
}