PATCH https://graph.microsoft.com/beta/search/acronyms/733b26d5-af76-4eea-ac69-1a0ce8716897
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."
}
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Models.Search;
var requestBody = new Acronym
{
Description = "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers.",
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Search.Acronyms["{acronym-id}"].PatchAsync(requestBody);
mgc-beta search acronyms patch --acronym-id {acronym-id} --body '{\
"description": "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers."\
}\
'
// Code snippets are only available for the latest major version. Current major version is $v0.*
// Dependencies
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-beta-sdk-go"
graphmodelssearch "github.com/microsoftgraph/msgraph-beta-sdk-go/models/search"
//other-imports
)
requestBody := graphmodelssearch.NewAcronym()
description := "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers."
requestBody.SetDescription(&description)
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=go
acronyms, err := graphClient.Search().Acronyms().ByAcronymId("acronym-id").Patch(context.Background(), requestBody, nil)
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
com.microsoft.graph.beta.models.search.Acronym acronym = new com.microsoft.graph.beta.models.search.Acronym();
acronym.setDescription("A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers.");
com.microsoft.graph.models.search.Acronym result = graphClient.search().acronyms().byAcronymId("{acronym-id}").patch(acronym);
const options = {
authProvider,
};
const client = Client.init(options);
const acronym = {
description: 'A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers.'
};
await client.api('/search/acronyms/733b26d5-af76-4eea-ac69-1a0ce8716897')
.version('beta')
.update(acronym);
<?php
use Microsoft\Graph\Beta\GraphServiceClient;
use Microsoft\Graph\Beta\Generated\Models\Search\Acronym;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestBody = new Acronym();
$requestBody->setDescription('A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers.');
$result = $graphServiceClient->search()->acronyms()->byAcronymId('acronym-id')->patch($requestBody)->wait();
Import-Module Microsoft.Graph.Beta.Search
$params = @{
description = "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers."
}
Update-MgBetaSearchAcronym -AcronymId $acronymId -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.search.acronym import Acronym
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = Acronym(
description = "A deep neural network is a neural network with a certain level of complexity, a neural network with more than two layers.",
)
result = await graph_client.search.acronyms.by_acronym_id('acronym-id').patch(request_body)