App Logo
linkedin.com

Delete sent LinkedIn message

Permanently delete one of the logged-in member's own sent messages in a classic LinkedIn messaging thread (NOT Sales Navigator), by thread URL from list_inbox. Deletes your most recent message by default, or the most recent one containing `match`. The message is deleted for all participants and replaced with a "This message has been deleted" placeholder. Returns status (deleted/not_found) and the deleted text.

Input

threadUrl required

URL of the conversation thread, e.g. https://www.linkedin.com/messaging/thread/<id>/ (from list_inbox)

match optional

Optional substring of the message text to pick WHICH of your own messages to delete. Defaults to your most recent message in the thread. If several match, the most recent one wins.

Output

status required

deleted = removed; not_found = no own (non-already-deleted) message matching `match` in the loaded thread; not_deletable = a matching message was found but LinkedIn's per-message menu doesn't offer Delete for it (observed on older messages -- deletion appears to have its own time window, separate from the ~60min edit window)

threadUrl required
deletedText required

The message text that was deleted (null unless status=deleted)

Start building not clicking