REST API
Delete a term
Deletes the term and its image. This permanently removes the term's flashcard review history and scheduling; nothing can restore them. To change a term's wording, update it instead. Requires sets:delete because it erases review history. A set's last term cannot be deleted; delete the set instead.
Required scopes: sets:delete
AuthorizationBearer <token>
In: header
Path Parameters
setId*string
Study set 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
uuidtermId*string
Term id within that set.
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
application/json
curl -X DELETE "https://example.com/sets/497f6eca-6276-4993-bfeb-53cbbbba6f08/terms/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": { "id": "2a1b0c9d-8e7f-4a6b-9c5d-4e3f2a1b0c9d", "deleted": true }}