Skip to main content
PATCH
Update a collection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection
string
required

Collection name.

Body

application/json

Only the default TTL is mutable. Indexes are fixed at creation.

defaultTtlSeconds
integer | null
required

New default TTL, or null to clear it.

Required range: 60 <= x <= 63072000

Response

Collection updated.

collection
object
required

A namespace of JSON documents addressed by key.