Documentation
Sign inGet started

bird email threads update

Usage

कोड उदाहरण
bird email threads update <thread-id> [flags]

Description

Update a thread
Apply label changes and contact links to a conversation. System labels move it: add "archive" to file it away, add "spam" to file it as spam, add "inbox" (or remove "spam" or "archive") to return it to the inbox. Remove "unread" to mark all retained received messages as read. To block a sender, add a receive rule instead.
Build the request from flags, a JSON EmailThreadUpdateRequest body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

कोड उदाहरण
# print the body shape (no credentials needed)
bird email threads update --example

Options

Labels

NameDescription
--add-label <v1,v2,…>Label to add; repeatable. System labels: inbox, archive, spam, unread.
--remove-label <v1,v2,…>Label to remove; repeatable.

Metadata

NameDescription
--contact-idContact ID (cnt_…) to link to this conversation.

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email threads deleteDelete a thread
bird email threads getGet a thread
bird email threads listList threads