GuideLab API

Anonymize (GDPR-erase) a user

Scrub a user's PII and revoke all access while retaining their records — orders, invoices, files, and messages reference the user and cannot be deleted. Platform admin access required.

POST
/admin/users/{id}/anonymize

Scrub a user's PII and revoke all access while retaining their records — orders, invoices, files, and messages reference the user and cannot be deleted. Platform admin access required.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

id*string

Response Body

application/json

curl -X POST "https://example.com/admin/users/550e8400-e29b-41d4-a716-446655440000/anonymize"
{  "success": true}
Empty
Empty
Empty
Empty