---
title: "Update website"
method: PUT
path: "/websites/{collectionId}"
tags: ["Websites"]
---

# Update website

`PUT /websites/{collectionId}`

## Request

- Base URL: `https://api.pics.io`
- URL: `https://api.pics.io/websites/{collectionId}`
- Auth: HTTP bearer

## Request body

- object
  - `alias` string
  - `template` 'default' | 'oldFashion' | 'oldFashionBlack' | 'nasa' | 'mosaic' | 'metro' | 'antique' | 'square' | 'space' | 'simple' | 'lumiere' | 'lumiereBlack': Template
  - `emails` unknown[]
    - unknown
  - `download` boolean
  - `password` string
  - `revisionsShow` boolean
  - `actionConsentEnable` boolean
  - `actionConsentMessage` string
  - `actionConsentTitle` string
  - `commentShow` boolean
  - `hideInternalComments` boolean
  - `comment` boolean
  - `titleShow` boolean
  - `titleEditable` boolean
  - `descriptionShow` boolean
  - `descriptionEditable` boolean
  - `customFieldsShow` boolean
  - `searchShow` boolean
  - `fileNameShow` boolean
  - `flagShow` boolean
  - `flag` boolean
  - `ratingShow` boolean
  - `rating` boolean
  - `colorShow` boolean
  - `color` boolean
  - `tagsTreeShow` boolean
  - `unfoldAllCollections` boolean
  - `logoUrl` string
  - `avatarUrl` string
  - `backgroundLoginPageUrl` string
  - `baseColor` string
  - `fbLinkShow` boolean
  - `twitterLinkShow` boolean
  - `instagramLinkShow` boolean
  - `phoneShow` boolean
  - `emailShow` boolean
  - `blogLinkShow` boolean
  - `showFlagged` boolean
  - `websiteFileNameShow` boolean
  - `websiteDescriptionShow` boolean
  - `aboutShow` boolean
  - `contactsShow` boolean
  - `downloadLinkShow` boolean
  - `downloadSingleFile` boolean
  - `downloadAsOriginalOnly` boolean
  - `sharingButtonsShow` string
  - `googleAnalyticsIdentifier` string
  - `customGalleryTitle` string
  - `noFollow` boolean
  - `noIndex` boolean

## Response `200`

Ok

- object
  - `success` boolean

---

[API](https://skmtc.dev/pics/apis/pics-io-rest-api.md) - [All operations](https://skmtc.dev/pics/apis/pics-io-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pics/apis/pics-io-rest-api/revisions/ea41cba5ac37?raw)
