Mailboxes

Remove thread labels

Removes the given labels from the thread and returns where the thread stands. A label the thread does not carry is ignored.

delete/v1/mailboxes/{id}/threads/{threadId}/labels

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/mailboxes/{id}/threads/{threadId}/labels
  • Auth: API key in header x-api-key

Path parameters

idstring required
threadIdstring required

Request body

labelsMailboxLabelId[] required

Response

MailboxThreadState

idstring required
folder'inbox' | 'assigned' | 'pending' | 'sent' | 'archived' | 'trash' required
priority'low' | 'normal' | 'high' | 'urgent' required
labelsMailboxLabelId[] required
readboolean required
starredboolean required
snoozedUntilstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.