DELETE /api/v1/following/{nickname}
unfollowUser
needs social:write
curl https://api.acyka.cc/api/v1/following/someone \
-X DELETE \
-H "Authorization: Bearer $ACYKA_TOKEN" Asking #
In the address
| field | type | what it is |
|---|---|---|
nickname | string | who to stop following |
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.