Delete feedback records by user ID
Permanently deletes feedback record data points for the specified user_id/data subject. Omit tenant_id to delete that user_id across all tenants for GDPR Article 17 (Right to Erasure) requests. Provide tenant_id to restrict deletion to that tenant only. Derived embeddings for deleted feedback records are removed by database cascade. The operation is idempotent; repeated calls return deleted_count 0 after matching records have already been deleted.
Query Parameters
Delete records matching this user ID (required). NULL bytes not allowed.
Optional tenant scope. Omit this parameter to delete all records matching user_id across tenants; provide it to delete only records for this tenant. Empty strings and NULL bytes are not allowed.
Returns
Number of records deleted
Human-readable status message
Delete feedback records by user ID
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"
}