Update a Collection
Updates an existing collection.
Authorizations
Your Moonbase API key.
Path Parameters
The ID or ref of the Collection to update.
Body
The Collection values to update.
Response
Update succeeded.
A Collection is a container for structured data, similar to a database table or spreadsheet. It defines a schema using a set of Fields and holds the data as a list of Items.
String representing the object’s type. Always collection for this object.
"collection"Unique identifier for the object.
The user-facing name of the collection (e.g., “Organizations”).
A unique, stable, machine-readable identifier for the collection. This reference is used in API requests and does not change even if the name is updated.
system collections are managed by Moonbase (e.g., People, Organizations), form collections back a Form, and custom collections are user-created.
system, form, custom A list of Field objects that define the schema for items in this collection.
A field definition, which varies by type
- SingleLineTextField
- MultiLineTextField
- IdentifierField
- IntegerField
- FloatField
- MonetaryField
- PercentageField
- BooleanField
- EmailField
- UrlField
- DomainField
- SocialXField
- SocialLinkedInField
- TelephoneNumberField
- GeoField
- DateField
- DatetimeField
- ChoiceField
- StageField
- RelationField
Time at which the object was created, as an ISO 8601 timestamp in UTC.
Time at which the object was last updated, as an ISO 8601 timestamp in UTC.
An optional, longer-form description of the collection's purpose.
The collection's icon, as a Phosphor icon name in kebab-case (e.g. users, chart-bar). Only present when an icon is set.
A list of saved View objects for presenting the collection's data.
Note: Only present when requested using the include query parameter.

