Admin - Schools

Update School

Update an existing school. Only accessible by admin users.

put/admin/schools/{school_id}

Path parameters

school_idstring required

The ID of the school to update

The ID of the school to update

Request body

namestring nullable
email_domainstring nullable
french_school_idstring nullable
contact_emailstring email nullable
contact_namestring nullable
phone_numberstring nullable
addressstring nullable
citystring nullable
max_teachersinteger nullable
max_studentsinteger nullable
notesstring nullable
expected_teachersstring[] nullable

Response

Successful Response

idstring required
namestring required
email_domainstring nullable
uaistring nullable
french_school_idstring nullable
french_school_namestring nullable
contact_emailstring email nullable
contact_namestring nullable
phone_numberstring nullable
addressstring nullable
citystring nullable
contract_type'free' | 'pilot' | 'paid' | 'expired' required
contract_start_datestring date-time nullable
contract_end_datestring date-time nullable
max_teachersinteger nullable
max_studentsinteger nullable
notesstring nullable
expected_teachersstring[]
created_bystring required
created_atstring date-time required
updated_atstring date-time required
current_contract_idstring nullable
current_contract_status'active' | 'upcoming' | 'ended' nullable
teacher_countinteger

Changes

No recorded changes to this endpoint across all 2 revisions of this API.