| title | contactFolder resource type |
|---|---|
| description | A folder that contains contacts. |
| author | kevinbellinger |
| ms.localizationpriority | medium |
| ms.subservice | outlook |
| doc_type | resourcePageType |
| ms.date | 08/23/2024 |
Namespace: microsoft.graph
A folder that contains contacts.
This resource supports using delta query to track incremental additions, deletions, and updates, by providing a delta function.
| Method | Return Type | Description |
|---|---|---|
| Get contact folder | contactFolder | Get a contact folder by using the contact folder ID. |
| Update contact folder | contactFolder | Update contactFolder object. |
| Delete contact folder | None | Delete a contactFolder object. |
| Permanently delete | None | Permanently delete a contact folder and remove its items from the user's mailbox. |
| List child folders | contactFolder collection | Get a collection of child folders under the specified contact folder. |
| Create child folder | contactFolder | Create a new contactFolder as a child of a specified folder. |
| Get contact delta | contact collection | Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. |
| List contacts in folder | contact collection | Get a contact collection from the default contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. |
| Create contact in folder | contact | Add a contact to the root contacts folder or the contacts endpoint of another contact folder. |
| Create single-value property | contactFolder | Create one or more single-value extended properties in a new or existing contactFolder. |
| Get single-value property | contactFolder | Get contactFolders that contain a single-value extended property by using $expand or $filter. |
| Create multi-value property | contactFolder | Create one or more multi-value extended properties in a new or existing contactFolder. |
| Get multi-value property | contactFolder | Get a contactFolder that contains a multi-value extended property by using $expand. |
| Property | Type | Description |
|---|---|---|
| displayName | String | The folder's display name. |
| id | String | Unique identifier of the contact folder. Read-only. |
| parentFolderId | String | The ID of the folder's parent folder. |
| Relationship | Type | Description |
|---|---|---|
| childFolders | contactFolder collection | The collection of child folders in the folder. Navigation property. Read-only. Nullable. |
| contacts | contact collection | The contacts in the folder. Navigation property. Read-only. Nullable. |
| multiValueExtendedProperties | multiValueLegacyExtendedProperty collection | The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable. |
| singleValueExtendedProperties | singleValueLegacyExtendedProperty collection | The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable. |
The following JSON representation shows the resource type.
{
"displayName": "string",
"id": "string (identifier)",
"parentFolderId": "string"
}