REST API
Delete a subject
Unfiles the subject from every task, note folder, study set and schedule element the key's user owns, then deletes it. Never touches another user's timetable.
Required scopes: subjects:delete
AuthorizationBearer <token>
In: header
Path Parameters
subjectId*string
Subject id, scoped to the key's user.
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/subjects/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": { "id": "5f0c1d2e-3a4b-4c5d-8e6f-7a8b9c0d1e2f", "deleted": true }}