Deleting unread_items will mark the current user's items as being read. It's similar to a soft-delete.
Name | Description |
---|---|
access_token | JSON Web Token retrieved from the Sessions endpoint (you can also pass this into the Authorization header) |
organization_celebration_item_id | The Organization Celebration Item whose the items should be deleted. |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjozNiwiZXhwIjoxNzA0NDczMjIzLCJpYXQiOjE3MDQ0NzMwNDN9.8LOLVDJxyAy8gxbC09wjyz0x8y2CMUJnMMQ0AtCYpvc Host: example.org Cookie:
DELETE /apis/v4/unread_items?organization_celebration_item_id=3
organization_celebration_item_id=3
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjozNiwiZXhwIjoxNzA0NjQ1ODQzLCJpYXQiOjE3MDQ0NzMwNDN9.n-sfME6Tgfygc6SleQzTv_Jf4zcIZGED9ectid0umZY Access-Control-Expose-Headers: X-MH-Session Cache-Control: no-cache X-Request-Id: ea0e0a97-b411-452f-9941-3fdb07d3a09d X-Runtime: 0.019389
204