Created
April 19, 2024 13:47
-
-
Save shemogumbe/23997bfb6397b899d3727ca411e0fd3a to your computer and use it in GitHub Desktop.
Lacking ability to delete user photo -
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'/users/{user-id}/photo/$value': | |
description: Provides operations to manage the media for the user entity. | |
get: | |
tags: | |
- users.profilePhoto | |
summary: Get media content for the navigation property photo from users | |
externalDocs: | |
description: Find more info here | |
url: https://learn.microsoft.com/graph/api/profilephoto-get?view=graph-rest-1.0 | |
operationId: users.GetPhotoContent | |
responses: | |
2XX: | |
description: Retrieved media content | |
content: | |
application/octet-stream: | |
schema: | |
type: string | |
format: binary | |
4XX: | |
$ref: '#/components/responses/error' | |
5XX: | |
$ref: '#/components/responses/error' | |
x-ms-docs-operation-type: operation | |
put: | |
tags: | |
- users.profilePhoto | |
summary: Update media content for the navigation property photo in users | |
operationId: users.UpdatePhotoContent | |
requestBody: | |
description: New media content. | |
content: | |
application/octet-stream: | |
schema: | |
type: string | |
format: binary | |
required: true | |
responses: | |
2XX: | |
description: Success | |
4XX: | |
$ref: '#/components/responses/error' | |
5XX: | |
$ref: '#/components/responses/error' | |
x-ms-docs-operation-type: operation | |
parameters: | |
- name: user-id | |
in: path | |
description: The unique identifier of user | |
required: true | |
schema: | |
type: string | |
x-ms-docs-key-type: user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only has Get and put methods