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
+82-1Lines changed: 82 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,4 +51,85 @@ The Delete Profile Identifier API confirms that Segment deleted the identifier f
51
51
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.
52
52
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.
53
53
54
-
<!-- maybe come back and turn this into a table?-->
54
+
<!-- maybe come back and turn this into a table?-->
55
+
56
+
## Delete an identifier
57
+
58
+
You can only delete identifiers from known profiles. The API requires a valid `user_id` to locate the profile.
59
+
60
+
The API returns an error if you try to delete:
61
+
62
+
- All `user_id` values from a profile. Profiles must have at least one `user_id`.
63
+
- A `group_id` identifier. The API only supports individual profiles.
64
+
65
+
### API request format
66
+
67
+
The API accepts one identifier per request.
68
+
69
+
**Endpoint**:
70
+
```
71
+
POST https://{HOST_NAME}/v1/spaces/{SPACE_ID}/collections/users/profiles/user_id:{USER_ID_VALUE}/external_ids/delete
0 commit comments