Settings

Update Parameters

Update the current user's parameters.

patch/settings/profile

Request body

first_namestring nullable
last_namestring nullable
role'student' | 'cpge_user' nullable

User can change between student and cpge_user roles

gradestring nullable

Student level / classe (e.g. 3eme, 2nde, Terminale, CPGE_Sup)

filierestring nullable

CPGE track (Sup, MP, PC, PSI, ECG, sup_ecg_math_appliques, sup_ecg_math_approfondi) — only for cpge users

teacher_type'lycée' | 'prepa' nullable

Teacher type (only for teachers)

subject'maths' | 'physique-chimie' nullable

Matière taught (only for teachers)

beta_features_enabledboolean nullable

Enable early-access and beta product features

Response

Successful Response

emailstring required
full_namestring nullable
first_namestring nullable
last_namestring nullable
rolestring nullable
gradestring nullable
filierestring nullable
teacher_type'lycée' | 'prepa' nullable
subject'maths' | 'physique-chimie' nullable
has_limited_accessboolean nullable
beta_features_enabledboolean

Changes

No recorded changes to this endpoint across all 1 revision of this API.