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.eyJ1c2VyX2lkIjozOCwiZXhwIjoxNzA0NDczMjI0LCJpYXQiOjE3MDQ0NzMwNDR9.nt28RnU1hlDZ_EovH7kHIlEz6-Ng05H9dqOY0ZFsSxk
Host: example.org
Cookie: 

Route

DELETE /apis/v4/unread_items?organization_id=40

Query Parameters

organization_id=40

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.eyJ1c2VyX2lkIjozOCwiZXhwIjoxNzA0NjQ1ODQ0LCJpYXQiOjE3MDQ0NzMwNDR9.FKFzIBKl7FJkRsMcxsuFS5EmXwBVVHztat1w47Qertc
Access-Control-Expose-Headers: X-MH-Session
Cache-Control: no-cache
X-Request-Id: 65f89fb2-862b-4489-9f1f-5c05793b9830
X-Runtime: 0.015627

Status

204