You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/unify/identity-resolution/delete-profile-identifier-api.md
+24-30Lines changed: 24 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,17 +39,18 @@ If you use [Profiles Sync](/docs/unify/profiles-sync/overview/), you must also:
39
39
40
40
## How deletion works
41
41
42
-
When you delete an identifier, Segment removes it from [Identity Resolution](/docs/unify/identity-resolution/) and propagates the change through connected systems.<!-- I don't like propagates-->
42
+
When you delete an identifier, Segment removes it from [Identity Resolution](/docs/unify/identity-resolution/) and syncs the change to connected systems.
43
43
44
-
After you send the request, the Delete Profile Identifier API confirms that Segment deleted the identifier from the Real-Time Identity Graph. Deletion then propagates to other systems:
44
+
The API confirms that Segment deleted the identifier from the Real-Time Identity Graph. The deletion then flows through these systems:
45
45
46
-
1. Real-time Profile storage**: The Profile API and Profile explorer delete the identifier in near real time.
47
-
2. Batch Profile Data lakehouse: Segment soft-deletes the identifier (flags it as deleted) in the append-only table within minutes. The identifier filters out from the materialized view within 24 hours.
48
-
3. Customer data warehouse: Profile Sync sends a deletion notification to your warehouse. The `external_id_mapping_updates` table shows the identifier with `__operation` set to `REMOVED`. The `user_identifiers` materialized view filters out removed identifiers.
| Real-time Profile storage | The Profile API and Profile explorer delete the identifier in near real time |
49
+
| Batch Profile Data lakehouse | Segment soft-deletes the identifier in the append-only table within minutes and filters it from the materialized view within 24 hours |
50
+
| Customer data warehouse | Profiles Sync adds a row to `external_id_mapping_updates` with `__operation` set to `REMOVED`. The `user_identifiers` view filters out removed identifiers |
49
51
50
-
<!-- maybe come back and turn this into a table?-->
51
52
52
-
## Delete an identifier <!-- maybe think of a better header-->
53
+
## Send a deletion request
53
54
54
55
You can only delete identifiers from known profiles. The API requires a valid `user_id` to locate the profile.
55
56
@@ -62,35 +63,28 @@ The API returns an error if you try to delete:
62
63
63
64
The API accepts one identifier per request.
64
65
65
-
**Endpoint**:
66
-
```sh
67
-
POST https://{HOST_NAME}/v1/spaces/{SPACE_ID}/collections/users/profiles/user_id:{USER_ID_VALUE}/external_ids/delete
0 commit comments