Skip to content

Commit 64341b5

Browse files
Merge pull request #28724 from microsoftgraph/main
Auto Publish – main to live - 2026-04-23 00:30 UTC
2 parents 1781314 + 8629308 commit 64341b5

52 files changed

Lines changed: 1399 additions & 41 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api-reference/beta/api/attachment-delete.md

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: "Delete attachment"
3-
description: "Delete an attachment from a calendar event, message, Outlook task, or post."
3+
description: "Delete an attachment from a calendar event, message, note, Outlook task, or post."
44
ms.localizationpriority: medium
55
doc_type: apiPageType
66
ms.subservice: "outlook"
77
author: "SuryaLashmiS"
8-
ms.date: 08/08/2024
8+
ms.date: 04/15/2026
99
---
1010

1111
# Delete attachment
@@ -14,20 +14,21 @@ Namespace: microsoft.graph
1414

1515
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1616

17-
Delete an attachment from a user calendar [event](../resources/event.md), [message](../resources/message.md), [Outlook task](../resources/outlooktask.md), or [post](../resources/post.md).
17+
Delete an attachment from a user calendar [event](../resources/event.md), [message](../resources/message.md), [note](../resources/note.md), [Outlook task](../resources/outlooktask.md), or [post](../resources/post.md).
1818

1919
[!INCLUDE [outlooktask-deprecate-sharedfeature](../../includes/outlooktask-deprecate-sharedfeature.md)]
2020

2121
[!INCLUDE [national-cloud-support](../../includes/all-clouds.md)]
2222

2323
## Permissions
2424

25-
Depending on the resource (**event**, **message**, **outlookTask**, or **post**) that the attachment is attached to and the permission type (delegated or application) requested, the permission specified in the following table is the least privileged required to call this API. To learn more, including [taking caution](/graph/auth/auth-concepts#best-practices-for-requesting-permissions) before choosing more privileged permissions, search for the following permissions in [Permissions](/graph/permissions-reference).
25+
Depending on the resource (**event**, **message**, **note**, **outlookTask**, or **post**) that the attachment is attached to and the permission type (delegated or application) requested, the permission specified in the following table is the least privileged required to call this API. To learn more, including [taking caution](/graph/auth/auth-concepts#best-practices-for-requesting-permissions) before choosing more privileged permissions, search for the following permissions in [Permissions](/graph/permissions-reference).
2626

2727
| Supported resource | Delegated (work or school account) | Delegated (personal Microsoft account) | Application |
2828
|:-----|:-----|:-----|:-----|
2929
| [event](../resources/event.md) | Calendars.ReadWrite | Calendars.ReadWrite | Calendars.ReadWrite |
3030
| [message](../resources/message.md) | Mail.ReadWrite | Mail.ReadWrite | Mail.ReadWrite |
31+
| [note](../resources/note.md) | ShortNotes.ReadWrite | ShortNotes.ReadWrite | ShortNotes.ReadWrite.All |
3132
| [outlookTask](../resources/outlooktask.md) | Tasks.ReadWrite | Tasks.ReadWrite | Not supported |
3233
| [post](../resources/post.md) | Group.ReadWrite.All | Not supported | Not supported |
3334

@@ -97,6 +98,14 @@ DELETE /me/mailFolders/{id}/childFolders/{id}/.../messages/{id}/attachments/{id}
9798
DELETE /users/{id | userPrincipalName}/mailFolders/{id}/childFolders/{id}/messages/{id}/attachments/{id}
9899
```
99100

101+
Attachments for a [note](../resources/note.md) in a user's mailbox.
102+
<!-- { "blockType": "ignored" } -->
103+
104+
```http
105+
DELETE /me/notes/{id}/attachments/{id}
106+
DELETE /users/{id | userPrincipalName}/notes/{id}/attachments/{id}
107+
```
108+
100109
Attachments for an [Outlook task](../resources/outlooktask.md).
101110
<!-- { "blockType": "ignored" } -->
102111

@@ -127,11 +136,13 @@ Don't supply a request body for this method.
127136

128137
If successful, this method returns a `204 No Content` response code. It doesn't return anything in the response body.
129138

130-
## Example
139+
## Examples
131140

132-
### Request
141+
### Example 1: Delete an event attachment
142+
The following example shows how to delete an attachment on an [event](../resources/event.md).
143+
#### Request
133144

134-
The following example shows a request to delete an attachment on an event.
145+
The following example shows a request.
135146

136147
# [HTTP](#tab/http)
137148
<!-- {
@@ -173,7 +184,33 @@ DELETE https://graph.microsoft.com/beta/me/events/{id}/attachments/{id}
173184

174185
---
175186

176-
### Response
187+
#### Response
188+
189+
The following example shows the response.
190+
<!-- {
191+
"blockType": "response",
192+
"truncated": true
193+
} -->
194+
195+
```http
196+
HTTP/1.1 204 No Content
197+
```
198+
199+
### Example 2: Delete a note attachment
200+
The following example shows how to delete an attachment on a [note](../resources/note.md).
201+
#### Request
202+
203+
The following example shows a request.
204+
<!-- {
205+
"blockType": "request",
206+
"name": "delete_attachment_from_note"
207+
} -->
208+
209+
```http
210+
DELETE https://graph.microsoft.com/beta/me/notes/AAMkAGI2THVSAAA=/attachments/AAMkAGI2attach2
211+
```
212+
213+
#### Response
177214

178215
The following example shows the response.
179216
<!-- {

api-reference/beta/api/crosstenantaccesspolicy-post-partners.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ The following table lists the properties that are required when you create the [
5858
| b2bCollaborationOutbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Microsoft Entra B2B collaboration. |
5959
| b2bDirectConnectInbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your partner-specific configuration for users from other organizations accessing your resources via Azure B2B direct connect. |
6060
| b2bDirectConnectOutbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Microsoft Entra B2B direct connect. |
61+
| blockServiceProviderOutboundAccess | Boolean | Specifies whether users can use granular delegated admin privileges (GDAP) to sign-in and access resources in other organizations. Default value is `false`. Optional. |
6162
| inboundTrust | [crossTenantAccessPolicyInboundTrust](../resources/crosstenantaccesspolicyinboundtrust.md) | Determines the partner-specific configuration for trusting other Conditional Access claims from external Microsoft Entra organizations. |
6263
| isServiceProvider | Boolean | Identifies whether the partner-specific configuration is a cloud service provider for your organization. |
6364
| tenantId | String | The tenant identifier for the partner Microsoft Entra organization. Read-only. Key.|

api-reference/beta/api/crosstenantaccesspolicyconfigurationdefault-update.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ PATCH /policies/crossTenantAccessPolicy/default
5656
| b2bCollaborationOutbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your default configuration for users in your organization going outbound to access resources in another organization via Microsoft Entra B2B collaboration. |
5757
| b2bDirectConnectInbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your default configuration for users from other organizations accessing your resources via Microsoft Entra B2B direct connect. |
5858
| b2bDirectConnectOutbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your default configuration for users in your organization going outbound to access resources in another organization via Microsoft Entra B2B direct connect. |
59+
| blockServiceProviderOutboundAccess | Boolean | Specifies whether users can use granular delegated admin privileges (GDAP) to sign-in and access resources in other organizations. Default value is `false`. Optional. |
5960
| inboundTrust | [crossTenantAccessPolicyInboundTrust](../resources/crosstenantaccesspolicyinboundtrust.md) | Determines the default configuration for trusting other Conditional Access claims from external Microsoft Entra organizations. |
6061
| invitationRedemptionIdentityProviderConfiguration | [defaultInvitationRedemptionIdentityProviderConfiguration](../resources/defaultInvitationRedemptionIdentityProviderConfiguration.md) | Defines the priority order based on which an identity provider is chosen during invitation redemption. |
6162
| m365CollaborationInbound | [crossTenantAccessPolicyM365CollaborationInboundSetting](../resources/crosstenantaccesspolicym365collaborationinboundsetting.md) | Defines your default configuration for inbound Microsoft 365 collaboration settings that determine which users from other organizations can collaborate with your organization using Microsoft 365 apps. |

api-reference/beta/api/crosstenantaccesspolicyconfigurationpartner-update.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ PATCH /policies/crossTenantAccessPolicy/partners/{id}
5757
| b2bCollaborationOutbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Microsoft Entra B2B collaboration. |
5858
| b2bDirectConnectInbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your partner-specific configuration for users from other organizations accessing your resources via Microsoft Entra B2B direct connect. |
5959
| b2bDirectConnectOutbound | [crossTenantAccessPolicyB2BSetting](../resources/crosstenantaccesspolicyb2bsetting.md) | Defines your partner-specific configuration for users in your organization going outbound to access resources in another organization via Microsoft Entra B2B direct connect. |
60+
| blockServiceProviderOutboundAccess | Boolean | Specifies whether users can use granular delegated admin privileges (GDAP) to sign-in and access resources in other organizations. Default value is `false`. Optional. |
6061
| inboundTrust | [crossTenantAccessPolicyInboundTrust](../resources/crosstenantaccesspolicyinboundtrust.md) | Determines the partner-specific configuration for trusting other Conditional Access claims from external Microsoft Entra organizations. |
6162
| m365CollaborationInbound | [crossTenantAccessPolicyM365CollaborationInboundSetting](../resources/crosstenantaccesspolicym365collaborationinboundsetting.md) | Defines your partner-specific configuration for inbound Microsoft 365 collaboration settings. |
6263
| m365CollaborationOutbound | [crossTenantAccessPolicyM365CollaborationOutboundSetting](../resources/crosstenantaccesspolicym365collaborationoutboundsetting.md) | Defines your partner-specific configuration for outbound Microsoft 365 collaboration settings. |

api-reference/beta/api/multivaluelegacyextendedproperty-get.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ The following user resources are supported:
3030
- [event](../resources/event.md)
3131
- [mailFolder](../resources/mailfolder.md)
3232
- [message](../resources/message.md)
33+
- [note](../resources/note.md)
3334
- [Outlook task](../resources/outlooktask.md)
3435
- [Outlook task folder](../resources/outlooktaskfolder.md)
3536

@@ -58,6 +59,7 @@ Depending on the resource you're getting the extended property from and the perm
5859
| group [post](../resources/post.md) | Group.Read.All | Not supported | Group.Read.All |
5960
| [mailFolder](../resources/mailfolder.md) | Mail.Read | Mail.Read | Mail.Read |
6061
| [message](../resources/message.md) | Mail.Read | Mail.Read | Mail.Read |
62+
| [note](../resources/note.md) | ShortNotes.Read | ShortNotes.Read | ShortNotes.Read |
6163
| [Outlook task](../resources/outlooktask.md) | Tasks.Read | Tasks.Read | Not supported |
6264
| [Outlook task folder](../resources/outlooktaskfolder.md) | Tasks.Read | Tasks.Read | Not supported |
6365

@@ -120,6 +122,15 @@ GET /users/{id|userPrincipalName}/contactFolders/{id}?$expand=multiValueExtended
120122

121123
[!INCLUDE [me-apis-sign-in-note](../includes/me-apis-sign-in-note.md)]
122124

125+
Get a **note** instance:
126+
<!-- { "blockType": "ignored" } -->
127+
```http
128+
GET /me/notes/{id}?$expand=multiValueExtendedProperties($filter=id eq '{id_value}')
129+
GET /users/{id|userPrincipalName}/notes/{id}?$expand=multiValueExtendedProperties($filter=id eq '{id_value}')
130+
```
131+
132+
[!INCLUDE [me-apis-sign-in-note](../includes/me-apis-sign-in-note.md)]
133+
123134
Get an **outlookTask** instance:
124135
<!-- { "blockType": "ignored" } -->
125136
```http

api-reference/beta/api/multivaluelegacyextendedproperty-post-multivalueextendedproperties.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The following user resources are supported:
2626
- [event](../resources/event.md)
2727
- [mailFolder](../resources/mailfolder.md)
2828
- [message](../resources/message.md)
29+
- [note](../resources/note.md)
2930
- [Outlook task](../resources/outlooktask.md)
3031
- [Outlook task folder](../resources/outlooktaskfolder.md)
3132

@@ -54,6 +55,7 @@ Depending on the resource you're creating the extended property in and the permi
5455
| group [post](../resources/post.md) | Group.ReadWrite.All | Not supported | Not supported |
5556
| [mailFolder](../resources/mailfolder.md) | Mail.ReadWrite | Mail.ReadWrite | Mail.ReadWrite |
5657
| [message](../resources/message.md) | Mail.ReadWrite | Mail.ReadWrite | Mail.ReadWrite |
58+
| [note](../resources/note.md) | ShortNotes.ReadWrite | ShortNotes.ReadWrite | ShortNotes.ReadWrite |
5759
| [Outlook task](../resources/outlooktask.md) | Tasks.ReadWrite | Tasks.ReadWrite | Not supported |
5860
| [Outlook task folder](../resources/outlooktaskfolder.md) | Tasks.ReadWrite | Tasks.ReadWrite | Not supported |
5961

@@ -92,6 +94,9 @@ POST /users/{id|userPrincipalName}/contacts
9294
POST /me/contactFolders
9395
POST /users/{id|userPrincipalName}/contactFolders
9496
97+
POST /me/notes
98+
POST /users/{id|userPrincipalName}/notes
99+
95100
POST /me/outlook/tasks
96101
POST /users/{id|userPrincipalName}/outlook/tasks
97102
POST /me/outlook/taskFolders/{id}/tasks
@@ -142,6 +147,9 @@ PATCH /users/{id|userPrincipalName}/contacts/{id}
142147
PATCH /me/contactFolders/{id}
143148
PATCH /users/{id|userPrincipalName}/contactFolders/{id}
144149
150+
PATCH /me/notes/{id}
151+
PATCH /users/{id|userPrincipalName}/notes/{id}
152+
145153
PATCH /me/outlook/tasks/{id}
146154
PATCH /users/{id|userPrincipalName}/outlook/tasks/{id}
147155
PATCH /me/outlook/taskFolders/{id}/tasks/{id}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: "Delete note"
3+
description: "Delete a note object."
4+
author: "rajeshvulla"
5+
ms.date: 04/07/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "outlook"
8+
doc_type: apiPageType
9+
---
10+
11+
# Delete note
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Delete a [note](../resources/note.md) object. Supports optimistic concurrency control via the `If-Match` header.
18+
19+
## Permissions
20+
21+
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
22+
23+
<!-- {
24+
"blockType": "permissions",
25+
"name": "note-delete-permissions"
26+
}
27+
-->
28+
[!INCLUDE [permissions-table](../includes/permissions/note-delete-permissions.md)]
29+
30+
## HTTP request
31+
32+
<!-- {
33+
"blockType": "ignored"
34+
}
35+
-->
36+
``` http
37+
DELETE /me/notes/{note-id}
38+
DELETE /users/{id | userPrincipalName}/notes/{note-id}
39+
```
40+
41+
## Request headers
42+
43+
|Name|Description|
44+
|:---|:---|
45+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
46+
|If-Match|The **changeKey** value for the note is used for optimistic concurrency control. Optional. We recommend that you use this header to avoid conflicts.|
47+
48+
## Request body
49+
50+
Don't supply a request body for this method.
51+
52+
## Response
53+
54+
If successful, this method returns a `204 No Content` response code.
55+
56+
If the `If-Match` header doesn't match the current **changeKey**, this method returns a `412 Precondition Failed` response code.
57+
58+
## Examples
59+
60+
### Request
61+
62+
The following example shows a request.
63+
<!-- {
64+
"blockType": "request",
65+
"name": "delete_note"
66+
}
67+
-->
68+
``` http
69+
DELETE https://graph.microsoft.com/beta/me/notes/AAMkAGI2THVSAAA=
70+
If-Match: "CQAAABYAAABG"
71+
```
72+
73+
### Response
74+
75+
The following example shows the response.
76+
<!-- {
77+
"blockType": "response",
78+
"truncated": true
79+
}
80+
-->
81+
``` http
82+
HTTP/1.1 204 No Content
83+
```
84+

0 commit comments

Comments
 (0)