DELETE /api/v1/collections/{code}/items/{shikimori_id}
removeCollectionItem
needs lists:write
curl https://api.acyka.cc/api/v1/collections/AbCdEf/items/52991 \
-X DELETE \
-H "Authorization: Bearer $ACYKA_TOKEN" Asking #
In the address
| field | type | what it is |
|---|---|---|
code | string | the shelf's code |
shikimori_id | number | the shikimori id |
Answering #
204 nothing — the status line carries the news
When it says no #
A refusal is { "message": "errors.something" } — a phrase name and never a
sentence, because one screen can be read in five languages. Every library turns the name into a
type, so you catch the class you can do something about. Errors has
the list.