Delete Data
Delete user's Clarity data (GDPR/compliance endpoint).
Permanently deletes the user's saved board. This cannot be undone. Requires confirm=true in request body to execute.
Headers: X-User-ID: User UUID (required) X-Internal-Secret: Internal API secret (required in production)
Body: confirm: bool (must be true to execute deletion)
Returns: 200: {"status": "deleted", "message": "...", "deleted": {"clarity_clusters": N}} 200: {"status": "no_data", "message": "..."} (idempotent - no data to delete) 400: Missing or false confirm parameter 401: Missing or malformed X-User-ID header 403: Invalid internal secret (production only) 404: User not found
Transaction Safety: Delete and audit log write happen in the SAME database transaction. If either fails, the entire transaction rolls back.
Request
- Base URLhttps://www.priority-guard.com (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.