PATCH https://graph.microsoft.com/beta/users/{userId}/profile/certifications/{id}
Content-Type: application/json
{
"issuingAuthority": "International Academy of Marketing Excellence",
"issuingCompany": "International Academy of Marketing Excellence"
}
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Models;
var requestBody = new PersonCertification
{
IssuingAuthority = "International Academy of Marketing Excellence",
IssuingCompany = "International Academy of Marketing Excellence",
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Users["{user-id}"].Profile.Certifications["{personCertification-id}"].PatchAsync(requestBody);
// 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"
graphmodels "github.com/microsoftgraph/msgraph-beta-sdk-go/models"
//other-imports
)
requestBody := graphmodels.NewPersonCertification()
issuingAuthority := "International Academy of Marketing Excellence"
requestBody.SetIssuingAuthority(&issuingAuthority)
issuingCompany := "International Academy of Marketing Excellence"
requestBody.SetIssuingCompany(&issuingCompany)
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=go
certifications, err := graphClient.Users().ByUserId("user-id").Profile().Certifications().ByPersonCertificationId("personCertification-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);
PersonCertification personCertification = new PersonCertification();
personCertification.setIssuingAuthority("International Academy of Marketing Excellence");
personCertification.setIssuingCompany("International Academy of Marketing Excellence");
PersonCertification result = graphClient.users().byUserId("{user-id}").profile().certifications().byPersonCertificationId("{personCertification-id}").patch(personCertification);
<?php
use Microsoft\Graph\Beta\GraphServiceClient;
use Microsoft\Graph\Beta\Generated\Models\PersonCertification;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestBody = new PersonCertification();
$requestBody->setIssuingAuthority('International Academy of Marketing Excellence');
$requestBody->setIssuingCompany('International Academy of Marketing Excellence');
$result = $graphServiceClient->users()->byUserId('user-id')->profile()->certifications()->byPersonCertificationId('personCertification-id')->patch($requestBody)->wait();
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.person_certification import PersonCertification
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = PersonCertification(
issuing_authority = "International Academy of Marketing Excellence",
issuing_company = "International Academy of Marketing Excellence",
)
result = await graph_client.users.by_user_id('user-id').profile.certifications.by_person_certification_id('personCertification-id').patch(request_body)