Apis::V4::UnreadItem API

delete all unread by organization

Deleting unread_items will mark the current user's items as being read. It's similar to a soft-delete.

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also pass this into the Authorization header)
organization_id The organization for which the items should be deleted.

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyNywiZXhwIjoxNzU0NTk2NDc2LCJpYXQiOjE3NTQ1OTYyOTZ9.xm57WINsG15IMDXoCmCcy4ojk3kOQ1b_tsTkZZy78ks
Host: example.org
Cookie: 

Route

DELETE /apis/v4/unread_items?organization_id=32

Query Parameters

organization_id=32

Response

Headers

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.eyJ1c2VyX2lkIjoyNywiZXhwIjoxNzU0NzY5MDk2LCJpYXQiOjE3NTQ1OTYyOTZ9.889VTHqloUlZ7hBoX52bs8qxkHKF9eVrXesbhUGYfik
Access-Control-Expose-Headers: X-MH-Session
Cache-Control: no-cache
X-Request-Id: 8cc128b3-ac23-4325-b125-63350acfc739
X-Runtime: 0.013589

Status

204