Link Search Menu Expand Document

Updated Fri Mar 5th 2021, 12:17 UTC

Batch star conversations in a filter

DELETE /:account/conversation_filters/:conversation_filter/conversations/star

Multiple conversations in a given filter can be unstarred by a user.

Examples

Batch unstar with IDs

Request

DELETE /my_account/conversation_filters/you/conversations/star

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/you/conversations/star
     -d '{json: "body"}' 

Response

Status

202

Response Type

No body


© 2021 TextUs