admin

Update User Subject

Set a teacher's matière from the admin dashboard. This is the support escape hatch: the self-service toggle (multi-matière branch) locks as soon as the teacher has authored content.

patch/admin/users/{user_id}/subject

Request

  • Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.excellence-ai.com/admin/users/{user_id}/subject
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

user_idstring required

Request body

subject'maths' | 'physique-chimie' required

Response

Successful Response

successboolean required
user_idstring required
previous_subjectstring nullable
subjectstring required

Changes

No operation changes recorded.