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

Parameters: set_photo_privacy
NameTypeDescription
photo_id string required string Photo ID from list_photos.
privacy enum required enum public, friends, family, friends_family or private.

Request

cURL
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"}'
Python
result = client.call("flickr", "set_photo_privacy", {"photo_id":"53917620088","privacy":"family"})
Node.js
const result = await cotlet.call('flickr', 'set_photo_privacy', {"photo_id":"53917620088","privacy":"family"});
CLI
cotlet call flickr set_photo_privacy --data '{"photo_id":"53917620088","privacy":"family"}'

Example response

JSON

{
  "photo_id": "53917620088",
  "previous_privacy": "public",
  "privacy": "family",
  "status": "updated"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.