webPart resource type
Namespace: microsoft.graph
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.
Represents a specific web part instance on a SharePoint page.
This is an abstract type.
Inherits from entity.
Methods
Method | Return type | Description |
---|---|---|
List | webPart collection | Get a list of the webPart objects and their properties. |
Get | webPart | Read the properties and relationships of a webPart object. |
Delete | webPart | Deletes a webPart object. |
Create | webPart | Create a new webPart object. |
Update | webPart | Update the properties of a webPart object. |
Get position | webPartPosition | Get the webPartPosition information of a WebPart. |
Get by position | webPart collection | Get a list of the webPart objects filtered by webPartPosition information. |
Properties
Property | Type | Description |
---|---|---|
id | String | Unique instance identifier of the web part. Inherited from entity. |
Relationships
None.
JSON representation
The following is a JSON representation of the resource.
{
"@odata.type": "#microsoft.graph.webPart",
"id": "String (identifier)"
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for