Skip to content

Latest commit

 

History

History
119 lines (86 loc) · 3.96 KB

File metadata and controls

119 lines (86 loc) · 3.96 KB
title Update contactMergeSuggestions
description Update the properties of a contactMergeSuggestions object.
author kevinbellinger
ms.localizationpriority medium
ms.subservice outlook
doc_type apiPageType
ms.date 04/05/2024

Update contactMergeSuggestions

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Update the properties of a contactMergeSuggestions object.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

PATCH /me/settings/contactMergeSuggestions

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

[!INCLUDE table-intro]

Property Type Description
isEnabled Boolean true if the duplicate contact merge suggestions feature is enabled for user; false if the feature is disabled. Default is true.

Response

If successful, this method returns a 204 No Content response code and the value is updated on the backend.

Examples

The following example updates the isEnabled privacy setting to disable the duplicate contacts merge suggestions feature.

Request

PATCH https://graph.microsoft.com/beta/me/settings/contactMergeSuggestions
Content-Type: application/json

{
  "isEnabled": false
}

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

HTTP/1.1 204 No Content