Archive notifications
View as MarkdownPOST
/v1/notifications/archiveMoves them out of the inbox (and off your devices); archived: false brings them back.
curl -X POST "https://api.lydie.co/v1/notifications/archive" \
-H "Authorization: Bearer $LYDIE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"string"
]
}'Body
- archivedboolean
Default
true
Response
- updatedinteger
{
"updated": -9007199254740991
}Errors use one envelope for every endpoint. See Errors and versions.