capabilities.work

Delete the image for one photo size

One step with Microsoft Entra ID (formerly Azure AD). We can help you get access.

Get something done

Delete the image for one photo size

Use Microsoft Entra ID (formerly Azure AD): its Users.profile Photo API lets you delete the image for one photo size in a single step (DELETE /users/{user-id}/photos/{profilePhoto-id}/$value). capabilities.work can help you get signed up and connected.

  • Can I delete the image content of only one size variant of a user's photo?
  • How do I remove a single thumbnail size from someone's avatar set?
Say it to your AI assistant
  • Delete the {photo_id} size image from user {user_id}'s photos.
  • Clear the {photo_id} variant image for {user_id}.
For your developer

DELETE /users/{user-id}/photos/{profilePhoto-id}/$value in Users.profile Photo API. Full spec on APIs.io.