REST API
Delete a study block
DELETE
Removes a planned block from the user's calendar.
Required scopes: schedule:delete
header
AuthorizationBearer <token>studyBlockId*stringStudy block 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
uuidOK
application/json- response
data*curl -X DELETE 'https://workroad.app/api/v1/study-blocks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Authorization: Bearer $WORKROAD_API_KEY'Example Response
{ "data": { "id": "5a4b3c2d-1e0f-4a9b-8c7d-6e5f4a3b2c1d", "deleted": true }}Plan a study block POST
Puts study time on the user's calendar, the way the planning copilot does: a title, a future start and end in the user's time zone, and optionally the subject, task or study set it is for.
List study blocks GET
Study time the user planned on their calendar, by start time, for a range of days in their time zone (today and the next 6 by default, at most 62 days).