Update Notifications
PUT
/api/v1/user/notifications
const url = 'https://api.parasta.io/api/v1/user/notifications';const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.parasta.io/api/v1/user/notifications \ --header 'Authorization: Bearer <token>'Update notification preferences.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
Example
{ "status": "ok", "data": { "updated": true }}