---
title: "Update Parameters"
method: PATCH
path: "/settings/profile"
tags: ["Settings"]
---

# Update Parameters

`PATCH /settings/profile`

Update the current user's parameters.

## Request body

- ParametersUpdateIn — Fields that can be updated by the user.
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `role` 'student' | 'cpge_user', nullable — User can change between student and cpge_user roles
  - `grade` string, nullable — Student level / classe (e.g. 3eme, 2nde, Terminale, CPGE_Sup)
  - `filiere` string, 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_enabled` boolean, nullable — Enable early-access and beta product features
  - `cpge_library_enabled` boolean, nullable — Opt-in for lycée maths teachers to see CPGE exercises in the exercise library (only for teachers)

## Response `200`

Successful Response

- ParametersOut — The data returned when fetching the user's parameters.
  - `email` string, required
  - `full_name` string, nullable
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `role` string, nullable
  - `grade` string, nullable
  - `filiere` string, nullable
  - `teacher_type` 'lycée' | 'prepa', nullable
  - `subject` 'maths' | 'physique-chimie', nullable
  - `has_limited_access` boolean, nullable
  - `beta_features_enabled` boolean
  - `cpge_library_enabled` boolean, nullable

## Other responses

- `422` — Validation Error

## Changes

> 15 revisions in range; 1 not diffed.

- **2026-09-06** `a8edb782d4d6` — 2 info
  - added the new optional request property `cpge_library_enabled`
  - added the optional property `cpge_library_enabled` to the response with the `200` status

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/settings/profile/patch.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/86793aa823ea?raw)
