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

Path parameters

school_idstring required

The ID of the school

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 recorded changes to this endpoint across all 4 revisions of this API.