Update acronym

Namespace: microsoft.graph.search

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Update the properties of an acronym object.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) SearchConfiguration.Read.All, SearchConfiguration.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application SearchConfiguration.Read.All, SearchConfiguration.ReadWrite.All

HTTP request

PATCH /search/acronyms/{acronymsId}

Request headers

Name Description
Authorization Bearer {token}. Required.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of the acronym object. Supply the values for relevant fields that should be updated. Existing properties that aren't included in the request body will maintain their previous values or be recalculated based on changes to other property values. For best performance you shouldn't include existing values that haven't changed.

Property Type Description
description String A brief description of the acronym that gives users more info about the acronym and what it stands for. Inherited from searchAnswer.
displayName String The actual short form or acronym. Inherited from searchAnswer.
standsFor String collection What the acronym stands for.
state microsoft.graph.search.answerState State of the acronym. Possible values are: published, draft, excluded, or unknownFutureValue.
webUrl String The URL of the page or website where users can go for more information about the acronym. Inherited from searchAnswer.

Response

If successful, this method returns a 204 No Content response code.

Examples

Request

PATCH https://graph.microsoft.com/beta/search/acronyms/{acronymsId}
Content-Type: application/json

{
  "description": "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers."
}

Response

HTTP/1.1 204 No Content