cURL
curl --request POST \ --url https://api.example.com/api/v1/school/subjects/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "code": "<string>", "level": "A Level", "curriculum": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "is_deleted": true } '
{}
Add a new subject to the curriculum
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Auto-populate created_by from request.user when available.
1 - 255
A Level
O Level