Consent Management
Last updated: 2026-07-06
What is Consent?
Consent is the permission from a user or guardian for data processing or use of specific features. HaMi Code Việt applies a consent system compliant with GDPR-K and COPPA.
Consent Types
| Type | Description | Guardian Required |
|---|---|---|
| Basic data processing | Storing learning progress, account info | No (over 13) |
| AI conversations | Using AI Tutor and agents | Yes (under 18) |
| AI self-learning memory | AI remembering learning info | Yes (under 18) |
| Email marketing | Receiving promotional emails | No |
| Progress sharing | Sharing progress with teachers | Yes (under 18) |
Granting and Revoking Consent
# View current consent
GET /consent/me
# Grant consent
POST /consent/grant
{ "consentTypeId": "ai_memory" }
# Revoke consent
POST /consent/revoke
{ "consentTypeId": "ai_memory" }Country Policies
HaMi Code Việt applies different consent policies by country:
- EU: Compliant with GDPR-K, requires guardian consent for users under 16
- US: Compliant with COPPA, requires guardian consent for users under 13
- Vietnam: Compliant with Vietnam Cybersecurity Law
# View country policy
GET /country-policy?country=VNWhen you revoke consent
When you revoke consent, the corresponding feature is disabled. Already-collected data may be deleted per GDPR request.