move_profile_to_person
Move one identifier (an email, LinkedIn, GitHub, X, or phone) off the record it's wrongly attached to and onto the person it really belongs to. Both records stay; the identifier and all its Gmail/Calendar/activity move with it, and noticed won't re-attach it to the old record. Pass from_person_id + identifier (as you see it — get_person shows a record's identifiers) + a to_person_id OR to_new_contact. Reversible from /logs. Fixes a mis-attached email/profile — to MERGE two records that are the same person, use accept_identity_match instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | The identifier to move: an email, a LinkedIn URL/vanity, a phone number, or a source-prefixed profile id (email:a@b.com, linkedin:vanity, github:<numeric id>, x:<numeric id>, phone:<number>). For GitHub or X pass the NUMERIC id (get_person's github_user_id) or the source-prefixed id — a login/URL can't resolve. Must be one the from_person currently has. | |
| to_person_id | No | persons.id to move it ONTO (an existing record). Pass this OR to_new_contact. | |
| from_person_id | Yes | persons.id the identifier is CURRENTLY (wrongly) attached to. | |
| to_new_contact | No | Create a brand-new contact to move the identifier onto — use when it belongs to someone not in your network. Pass this OR to_person_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether noticed completed the operation. | |
| data | No | The operation result when ok is true. | |
| error | No | A human-readable error when ok is false. |