Marks a previously shared album as private. This means that the album is no longer shared and all the non-owners will lose access to the album. All non-owner content will be removed from the album. If a non-owner has previously added the album to their library, they will retain all photos in their library. This action can only be performed on albums which were created by the developer via the API.
HTTP request
POST https://photoslibrary.googleapis.com/v1/albums/{albumId}:unshare
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["Makes a shared album private, removing sharing access and all non-owner content, effective March 31, 2025."],["Non-owners who added the album to their library will keep any photos already in their library."],["Only applicable to albums created by the developer using the API, requiring the album ID in the request."],["Requires authorization with the `https://www.googleapis.com/auth/photoslibrary.sharing` scope."],["The request body should be empty, and a successful operation results in an empty response body."]]],[]]