Skip to content
getgeolens.com

Update Collection Endpoint

PATCH
/catalog/collections/{collection_id}
curl --request PATCH \
--url https://example.com/api/catalog/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example" }'

Update a collection’s name and/or description.

collection_id
required
Collection Id
string format: uuid
Media type application/json
CollectionUpdate
object
name
Any of:
string
>= 1 characters <= 255 characters
description
Any of:
string
<= 2000 characters
Example generated
{
"name": "example",
"description": "example"
}

Successful Response

Media type application/json
CollectionResponse
object
id
required
Id
string format: uuid
name
required
Name
string
description
required
Any of:
string
created_by
required
Any of:
string format: uuid
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
dataset_count
required
Dataset Count
integer
extent_bbox
Any of:
Array<number>
temporal_start
Any of:
string format: date
temporal_end
Any of:
string format: date
Example generated
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"description": "example",
"created_by": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"created_at": "2026-04-15T12:00:00Z",
"updated_at": "2026-04-15T12:00:00Z",
"dataset_count": 1,
"extent_bbox": [
1
],
"temporal_start": "2026-04-15",
"temporal_end": "2026-04-15"
}

Bad request — invalid payload

Unauthorized — missing or invalid credentials

Forbidden — caller lacks write access

Not found

Conflict — resource state prevents the operation

Validation error

Internal server error