{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin me.profilePhoto API", "version": "1.0.0" }, "items": [ { "info": { "name": "me.profilePhoto", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph Get profilePhoto", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/photo", "params": [ { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,\r\n360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.\r\nIf the size you request is unavailable, you can still get a smaller size that the user has uplo" }, { "info": { "name": "Microsoft Graph Update profilePhoto", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/photo", "body": { "type": "json", "data": "{}" } }, "docs": "Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation." }, { "info": { "name": "Microsoft Graph Delete profilePhoto", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/photo", "headers": [ { "name": "If-Match", "value": "" } ] }, "docs": "Delete the photo for the signed-in user or the specified group. " }, { "info": { "name": "Microsoft Graph Get profilePhoto", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/photo/$value" }, "docs": "Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,\r\n360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they're stored in Microsoft Entra ID. You can get the metadata of the largest available photo or specify a size to get the metadata for that photo size.\r\nIf the size you request is unavailable, you can still get a smaller size that the user has uplo" }, { "info": { "name": "Microsoft Graph Update profilePhoto", "type": "http" }, "http": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/me/photo/$value" }, "docs": "Update the photo for the specified contact, group, team, or user in a tenant. The size of the photo you can update to is limited to 4 MB. You can use either PATCH or PUT for this operation." }, { "info": { "name": "Microsoft Graph Delete profilePhoto", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/photo/$value", "headers": [ { "name": "If-Match", "value": "" } ] }, "docs": "Delete the photo for the signed-in user or the specified group. " }, { "info": { "name": "Microsoft Graph Get photos from me", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/photos", "params": [ { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The collection of the user's profile photos in different sizes. Read-only." }, { "info": { "name": "Microsoft Graph Get photos from me", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/photos/:profilePhoto-id", "params": [ { "name": "profilePhoto-id", "value": "", "type": "path", "description": "The unique identifier of profilePhoto" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The collection of the user's profile photos in different sizes. Read-only." }, { "info": { "name": "Microsoft Graph Get media content for the navigation property photos from me", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/photos/:profilePhoto-id/$value", "params": [ { "name": "profilePhoto-id", "value": "", "type": "path", "description": "The unique identifier of profilePhoto" } ] }, "docs": "The unique identifier for an entity. Read-only." }, { "info": { "name": "Microsoft Graph Update media content for the navigation property photos in me", "type": "http" }, "http": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/me/photos/:profilePhoto-id/$value", "params": [ { "name": "profilePhoto-id", "value": "", "type": "path", "description": "The unique identifier of profilePhoto" } ] }, "docs": "The unique identifier for an entity. Read-only." }, { "info": { "name": "Microsoft Graph Delete media content for the navigation property photos in me", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/photos/:profilePhoto-id/$value", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "profilePhoto-id", "value": "", "type": "path", "description": "The unique identifier of profilePhoto" } ] }, "docs": "The unique identifier for an entity. Read-only." } ] } ], "bundled": true }