## Update a custom field group `PUT https://getkollek.com/api/collection-types/{collectionType}/custom-field-groups/{group}` Rename a custom field group. The fields it holds are left alone. **Permissions:** Owners and editors. Viewers get a 404 response. ### Path parameters - `collectionType` (integer, required): The ID of the collection type the group belongs to. - `group` (integer, required): The ID of the custom field group. ### Body parameters - `name` (string, optional): The name of the group. Maximum 255 characters. **Returns:** The updated custom_field_group object. ### Example request ```bash curl https://getkollek.com/api/collection-types/1/custom-field-groups/1 \ -X PUT \ -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d '{ "name": "Publishing info" }' ``` ### Example response `Status: 200` ```json { "data": { "type": "custom_field_group", "id": "1", "attributes": { "name": "Publishing info", "position": 1, "created_at": 1752537600, "updated_at": 1752537600 }, "links": { "self": "https://getkollek.com/api/collection-types/1/custom-field-groups/1" } } } ```