---
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

## 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

## Other responses

- `422` — Validation Error

---

[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-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/c407f3b5a05b/schema)
