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.eyJ1c2VyX2lkIjoyNSwiZXhwIjoxNzU0NTk2NDc2LCJpYXQiOjE3NTQ1OTYyOTZ9.dg05Dhp8YNCp7b5fcaecplhteywHzQLnAhJjeO3Wd-M Host: example.org Cookie:
DELETE /apis/v4/unread_items?organization_celebration_item_id=5
organization_celebration_item_id=5
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.eyJ1c2VyX2lkIjoyNSwiZXhwIjoxNzU0NzY5MDk2LCJpYXQiOjE3NTQ1OTYyOTZ9.9OPP5ZREmOIwumBYRC6EOTY24TVEqbeP2RTUN8f3AJg Access-Control-Expose-Headers: X-MH-Session Cache-Control: no-cache X-Request-Id: 84bc155a-4a86-4303-a855-f84bed7d1567 X-Runtime: 0.016302
204