Skip to main content
DELETE
Use this endpoint to honor GDPR / right-to-erasure requests. For the given externalUserId, the server:
  • Deletes every person image stored for that user (both standalone uploads via POST /images/upload and the snapshots attached to past generations).
  • Deletes every generated result image for that user.
  • Anonymizes the corresponding generation rows: the user reference is set to NULL, so aggregate analytics survive but nothing ties back to the individual.
The call is idempotent: if nothing matches, the endpoint still returns 204 No Content.
Tracking only kicks in when you supply an externalUserId on the original upload or try-on call. Calls made without one are not linked to anyone and therefore can’t be targeted here; they expire on their own via the retention window. If you have older data created with the deprecated customerId field, pass that same value here: it is the same identifier under its old name.

Request

string
required
The opaque user identifier you originally sent as externalUserId on POST /images/upload and/or POST /try-on.

Response

204 No Content on success. No body.