Admin - School Codes

Create School Code

Create a new school access code. Only accessible by admins.

post/admin/school-codes

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/school-codes
  • Auth: OAuth 2 (password, token URL api/login)

Request body

codestring required
school_namestring required
descriptionstring nullable
max_usesinteger nullable

Response

Successful Response

idstring required
codestring required
school_namestring required
descriptionstring nullable
is_activeboolean required
max_usesinteger nullable
current_usesinteger required
created_bystring required
created_atstring date-time required
updated_atstring date-time required

Changes

No operation changes recorded.