{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Update a collection's display name, singular name, slug, or field groups.\n\n**Field group rules:**\n- A collection can have a maximum of 50 field groups\n- Each `displayName` must be unique across all field groups in the collection\n- Each `fieldId` must be unique across all field groups in the collection\n- Ecommerce collections do not support field groups\n\nRequired scope | `cms:write`\n","properties":{"path":{"type":"object","properties":{"collection_id":{"type":"string","examples":["580e63fc8c9a982ac9b8b745"],"description":"Unique identifier for a Collection"}},"required":["collection_id"],"additionalProperties":false},"body":{"description":"The properties to update on a collection","type":"object","properties":{"displayName":{"type":"string","description":"Name given to the Collection"},"singularName":{"type":"string","description":"The name of one Item in Collection (e.g. ”Blog Post” if the Collection is called “Blog Posts”)"},"slug":{"type":"string","description":"Slug of Collection in Site URL structure"},"fieldGroups":{"type":"array","description":"The list of field groups in the Collection. Replaces the existing field groups.","items":{"description":"A group of fields within a collection","type":"object","required":["displayName","fieldIds"],"properties":{"displayName":{"type":"string","description":"The display name of the field group","minLength":1,"maxLength":64,"examples":["Content Details"]},"fieldIds":{"type":"array","description":"The IDs of the fields in this group","items":{"type":"string"},"examples":[["6f7e8d9c0b1a2e3d4c5b6a7f","1a2b3c4d5e6f7a8b9c0d1e2f"]]},"description":{"type":"string","description":"A description of the field group","maxLength":256,"examples":["Fields for the main content of the entry"]}}}}}}},"required":["path","body"],"additionalProperties":false},"name":"Update Collection","id":"webflow.patch-collection","example":{"path":{"collection_id":"580e63fc8c9a982ac9b8b745"},"body":{}},"maxRequests":1,"summary":false}}