PATCH /v1/subjects/:id to modify an existing subject profile. Send only the fields you want to update — all other fields remain unchanged.
Endpoint
Path Parameters
The unique identifier of the subject you want to update.
Body Parameters
All body parameters are optional. Include only the fields you want to change.Updated display name. Maximum 40 characters. Must be unique across your account.
Updated hex color code (e.g.
#6366f1).A full replacement of the subject’s weekly slot schedule. The value you provide replaces the entire existing
slots array — it is not merged. Send an empty array ([]) to remove all scheduled slots.Response
Returns the full updated subject object inside thedata field.
Unique identifier for the subject.
Display name of the subject.
The subject type. Unchanged by this endpoint.
Hex color code for this subject.
The updated weekly time slots for this subject.
Array of syllabus topic objects. Each item has
title (string), duration (integer, minutes), and done (boolean). Unchanged by this endpoint.Examples
When you update
slots, the new array fully replaces the old one. Any previously defined slots not included in the new array will be removed.