Dismiss Relationship (POST)
Dismiss a relationship from a relationship insight. Use this resource to indicate that a relationship is not relevant, incorrect, not actionable, or otherwise must not be shown.
Resource
1 /connect/relationship-research/insights/{insightId}/relationships/{relationshipId}/dismiss
The {insightId} parameter is the ID of the insight.
The {relationshipId} parameter is the ID of the relationship.
Resource Example
1 https://{yourInstance}.salesforce.com/services/data/v68.0/connect/relationship-research/insights/rra-insight-000456/relationships/rra-rel-100/dismiss
{yourInstance} is the domain name of your Salesforce instance.
Available Version
67.0
HTTP Methods
POST
Request Body for POST
JSON Example
1 {
2 "reasonCode": "NOT_RELEVANT",
3 "comment": null,
4 "clientContext": { "surface": "RecordPage", "component": "RraInsightPanel" }
5 }
Properties
Name Type Description Required or Optional Available Version clientContextMap<String, Object> Optional UI context used for telemetry, such as page, component, or sessionId. The system doesn’t persist this information in the relationship record. Optional 67.0 commentString Optional note that explains the reason for the dismissal of the relationship. Administrators or support tooling typically use this field. Optional 67.0 reasonCodeString Reason to dismiss the relationship. Possible values include:INCORRECTNOT_RELEVANTDUPLICATESENSITIVEOTHER Optional 67.0
Response Body for POST
Dismiss Relationship