Skip to main content
PUT
Update Collection

Path Parameters

collection_id
string
required

Body

application/json

Request body for updating a collection schema.

schema
FieldDefinition · object[]
required

Updated list of field definitions (at least one required)

Minimum array length: 1

Response

Successful Response

Response for a created collection.

id
string
required

Collection ID (UUID)

name
string
required

Collection name

table_name
string
required

Physical table name in database

schema
SchemaFieldResponse · object[]
required

Collection schema

created_at
string<date-time>
required

When the collection was created

updated_at
string<date-time>
required

When the collection was last updated