Set notification preferences
View as MarkdownPUT
/v1/notifications/preferencesemail: off (default), mentions (mail for mentions), all (every notification).
curl -X PUT "https://api.lydie.co/v1/notifications/preferences" \
-H "Authorization: Bearer $LYDIE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"email": "off"
}'Body
One of
offmentionsall
Response
- emailstring
One of
offmentionsall
{
"email": "off"
}Errors use one envelope for every endpoint. See Errors and versions.