Link Search Menu Expand Document

Updated Thu Sep 23rd 2021, 14:29 UTC

Batch mark conversations unread in a filter

DELETE /:account/conversation_filters/:conversation_filter/conversations/read

Multiple conversations in a given filter can be marked unread by a user.

Examples

Batch mark unread with IDs

Request

DELETE /my_account/conversation_filters/active/conversations/read

Body

{
  "conversations": <%= @conversations.map { |convo| conversation_path(convo) } %>
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X DELETE /my_account/conversation_filters/active/conversations/read
     -d '{json: "body"}' 

Response

Status

202

Response Type

No body


© 2021 TextUs