Skip to main content
DELETE
/
tryon
/
v1
/
customers
/
:customerId
curl -X DELETE "https://api.genlook.app/tryon/v1/customers/your-customer-id" \
  -H "x-api-key: gk_your_api_key"

Documentation Index

Fetch the complete documentation index at: https://docs.genlook.app/docs/llms.txt

Use this file to discover all available pages before exploring further.

Use this endpoint to honor GDPR / right-to-erasure requests. For the given customerId, the server:
  • Deletes every customer-image stored for that customer (both standalone uploads via POST /images/upload and the snapshots attached to past generations).
  • Deletes every generated result image for that customer.
  • Anonymizes the corresponding Generation rows — customerId 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 a customerId on the original upload or try-on call. Calls made without a customerId are not linked to anyone and therefore can’t be targeted here — they expire on their own via the retention window.

Request

customerId
string
required
The opaque customer identifier you originally sent on POST /images/upload and/or POST /try-on.
curl -X DELETE "https://api.genlook.app/tryon/v1/customers/your-customer-id" \
  -H "x-api-key: gk_your_api_key"

Response

204 No Content on success. No body.