Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 1.84 KB

File metadata and controls

65 lines (50 loc) · 1.84 KB
title patchContentCommand resource type
description The changes to make to a OneNote page in a PATCH request.
ms.localizationpriority medium
doc_type resourcePageType
ms.subservice onenote
author jewan-microsoft
ms.date 07/08/2024

patchContentCommand resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

The changes to make to a OneNote page in a PATCH request.

Properties

Property Type Description
action String The action to perform on the target element. The possible values are: replace, append, delete, insert, or prepend.
content String A string of well-formed HTML to add to the page, and any image or file binary data. If the content contains binary data, the request must be sent using the multipart/form-data content type with a "Commands" part.
position String The location to add the supplied content, relative to the target element. The possible values are: after (default) or before.
target String The element to update. Must be the #<data-id> or the generated {id} of the element, or the body or title keyword.

Relationships

None.

JSON representation

The following JSON representation shows the resource type., which is sent in the body of the PATCH pages/{id}` request.

{
  "action": "String",
  "content": "string",
  "position": "String",
  "target": "string"
}