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 

1https://{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 

NameTypeDescriptionRequired or OptionalAvailable 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.Optional67.0
commentStringOptional note that explains the reason for the dismissal of the relationship. Administrators or support tooling typically use this field.Optional67.0
reasonCodeStringReason to dismiss the relationship. Possible values include:
  • INCORRECT
  • NOT_RELEVANT
  • DUPLICATE
  • SENSITIVE
  • OTHER
Optional67.0

Response Body for POST 

Dismiss Relationship