Notifications API

Mark notifications as read

PUT /api/notifications/read

Parameters

Name Description
notification_ids[] IDs of events to be marked as read

Request

Headers

Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: _session_id=M0FnNWpiZEJ0UWFOalM5MEdQUjVBOFhlcFJZbHZTMTJRTXlGMFp1czA1eEczQTBOZEVvVGdtdVdpb0poUFV5bXVrUUwxNVJ3Q2tMTkxJbFJEeUs1N05KNkVweTVFNFRWWTRWNmZzUXk0ZWJDRnpEVG8xQ3BBa2NHSEplNFNSZDR4TWRGcnhyaWJ4bkRCcVl1M2VIZnFpZXZVcnJzQXVYdnp5MlNSdVJhQmhSTHJENmdxcWRmVnU0Q3E1UzdMRkIxaVJadXBIZXlKUmRZbUxkaTgyWXpiVlVLSG1aNVAybG9zRWIrNmhzZ3RhZXQyQnVhU0U1OGU3QmNSVXFWa25lSmtKYUFTMUhVeWJNVU50ZGtoOTBpVG5BUjZJc3pxcHVFS3dVcS8wbCtaM1MrN0VONkZmOWJKb004SXVBRHVPME9CaGMyWmtnRWh0bnp1ZEVwVlpNa0N5UWpoTkc1WUQwZzk1MDdBOUVrSTJlemxjY0pKamdJL3VsaFEweWlPYjJNRmpWSGNMeGc3akgyRVpVWllpbFdFQmdsN0ZSM1c2eE5EVWYxT2k0UFlzYz0tLUlxVlpTUlQxdmNYcHNybXUzSDk4Qnc9PQ%3D%3D--db8d1a244f0edcd546d1bea623844c81b55ae6c0

Route

PUT /api/notifications/read

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: text/html
ETag: W/"7215ee9c7d9dc229d2921a40e899ec5f"
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: _session_id=MnpnaXhwY2JwQ3NtR2UwaFd5VFZML3I1OEMyamFOejFpRjFtU0o4Qk9GVjVNZlAzV3MwRTQ1WFZheVNhQzNLQ1dpc0ptS2ovWDRUM251MjBnR0FrTVRORDZiS29STlNOVk9lZElEYTRPQ3F6eU5oUTEzbG83eXhPQWZNdnJISUJkRE1haFJNMWVibXB3aHdYb0Q2U2puYnp1dTJqSFdZVmVlSzNuYk9CVThHalNmWnhnYy94ZGhWZU5IYTY1S1EvSmhJTHgrcTZtSjJsd2FNY2dhR2Z2VVhEK0pjTHk2akVrNkxrNzlTRkxkVzd3bFBNTldwa3RnOUQwZW56QUU2TlJQbjg4eVl3Si90REZsNjhiMG1jNlBYUXd3eHhzZUdlVU1kcXIrTWJJUU5LOXlUaGZ6UFJlQTRTb2pBNWlUaFZCVFN1SHZSM2JXNSt5bnRXcFFaQW9yb2xVUENscktyU1dnSzR3YzhJU0thNHUzODdVcHBWK3BpNmVVM2pXQk9wd0JkeHJ6d3J0RENPZkU2SkREeStWakw1eXRvWkQ0QVhkODJuSDZUZ2RIWGNqK2Z5N1BrcERES2Z4UmFSMGZxaC0tb2hPVUxxS0FnSkd2VktjZ05MTUR6Zz09--a49fe99cec9f1710f8faf4e9a50b0140bbe47922; path=/; HttpOnly
X-Request-Id: 6789d559-d16e-4497-8c2d-59939d21ebf5
X-Runtime: 0.014985
Content-Length: 1

Status

200 OK

Body