cURL
curl --request PUT \ --url https://test-api.afrainity.com/api/v1/school/subjects/{id}/ \ --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 } '
{}
Update subject information
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A UUID string identifying this subject.
Auto-populate created_by from request.user when available.
1 - 255
A Level
O Level