Threads

Update a thread

Mark read/unread (needs read access), star, move (inbox, archive, trash, spam) or relabel (need manage access: the mailbox's owner, an admin, or a full-access share). Returns the updated thread.

patch/api/v1/threads/{id}

Request

  • Base URL: https://supermailos.com
  • URL: https://supermailos.com/api/v1/threads/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Thread id.

Request body

unreadboolean

Needs read access.

readboolean

Alias for !unread.

starredboolean
folder'inbox' | 'archive' | 'trash' | 'spam'

Move to a system folder. spam also trains the mailbox on the sender; spam → inbox forgives them.

labelsstring[]

Replace every label.

addLabelsstring[]
removeLabelsstring[]

Case-insensitive.

Response

Updated.

Changes

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