Admin - Schools

Add Teacher To School

Create a new teacher account or add existing teacher to a school. If the teacher already exists, adds them as a member. If they don't exist and password is provided, creates a new account. Only accessible by admin users.

post/admin/schools/{school_id}/teachers

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/schools/{school_id}/teachers
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

school_idstring required

The ID of the school

Request body

emailstring email required
full_namestring nullable
passwordstring nullable
subject'maths' | 'physique-chimie'

Response

Successful Response

messagestring required
teacher_idstring required
created_new_accountboolean required

Changes

No operation changes recorded.