Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 676 Bytes

File metadata and controls

18 lines (12 loc) · 676 Bytes
description Automatically generated file. DO NOT MODIFY
// Code snippets are only available for the latest version. Current version is 6.x

GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);

com.microsoft.graph.beta.domains.item.verify.VerifyPostRequestBody verifyPostRequestBody = new com.microsoft.graph.beta.domains.item.verify.VerifyPostRequestBody();
HashMap<String, Object> additionalData = new HashMap<String, Object>();
additionalData.put("forceTakeover", true);
verifyPostRequestBody.setAdditionalData(additionalData);
var result = graphClient.domains().byDomainId("{domain-id}").verify().post(verifyPostRequestBody);