• Features
  • Pricing
Get Started

List CollectionsCreate CollectionGet CollectionUpdate CollectionDelete Collection

PATCH /v1/collections/{collectionId}

Partially update a collection with a JSON request body.

PATCH /v1/collections/{collectionId} updates an existing collection.

Authentication

Send an organization API key in x-api-key or Authorization: Bearer <key>.

Path Parameters

NameTypeDescription
collectionIdstring (uuid)UUID of the collection to update.

Request Body

Send a JSON object containing at least one of the following fields.

NameTypeDescription
namestringCollection name, from 1 to 100 characters.
descriptionstring or nullDescription, up to 4,000 characters. Send null to clear it.
teamIdsarray of stringsTeams allowed to access the collection.
isPubliclyVisiblebooleanWhether the collection is visible on the public website.

Example

curl -X PATCH "https://api.blueputto.com/v1/collections/COLLECTION_ID" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "content-type: application/json" \
  -d '{"isPubliclyVisible":true}'

Success Response

200 OK

{
  "data": {}
}

Error Responses

  • 400 Bad Request
  • 401 Unauthorized
  • 404 Not Found
  • 429 Too Many Requests

GET /v1/collections/{collectionId}

Retrieve a single collection by its UUID.

DELETE /v1/collections/{collectionId}

Delete a collection.

On this page

AuthenticationPath ParametersRequest BodyExampleSuccess ResponseError Responses