Set photo privacy
Choose who can see a photo: everyone, Friends, Family, both or only you.
PUT https://cotlet.dev/api/v1/flickr/photos/{photo_id}/privacy
write Confirm
Changes who can see one of your photos. A non-public photo that sits in a group is visible to that group's members, and anyone with an album link or a guest pass sees it too. Free accounts hold up to 50 non-public items. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| photo_id string required | string | Photo ID from list_photos. |
| privacy enum required | enum | public, friends, family, friends_family or private. |
Request
curl -X PUT https://cotlet.dev/api/v1/flickr/photos/53917620088/privacy \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"privacy":"family"}' result = client.call("flickr", "set_photo_privacy", {"photo_id":"53917620088","privacy":"family"}) const result = await cotlet.call('flickr', 'set_photo_privacy', {"photo_id":"53917620088","privacy":"family"}); cotlet call flickr set_photo_privacy --data '{"photo_id":"53917620088","privacy":"family"}' Example response
{
"photo_id": "53917620088",
"previous_privacy": "public",
"privacy": "family",
"status": "updated"
}