Product Updates

DatoCMS changelog for new features and general improvements
Content Management API API Clients

Deprecation notice on our Content Management API

December 18th, 2019

Starting from February 1st, 2020, it will no longer possible to directly create, duplicate, update or delete modular block items using the following endpoints:

  • POST /items

  • PUT /items/:id

  • POST /items/:id/duplicate

  • DELETE /items/:id

  • DELETE /items/

The only supported way to perform any operation on modular block items will be by updating a modular content field on the parent item.

For example, to create an item with two modular blocks inside its modular content field:

import { SiteClient, buildModularBlock } from 'datocms-client';
const client = new SiteClient('YOUR_TOKEN');
client.items.create({
itemType: '111',
content: [
buildModularBlock(text: "Foo", itemType: '222'),
buildModularBlock(text: "Bar", itemType: '222'),
]
})

This change is required to ensure atomic, reliable operations on content.

Start using DatoCMS today
According to Gartner 89% of companies plan to compete primarily on the basis of customer experience this year. Don't get caught unprepared.
  • No credit card
  • Easy setup
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2025 Dato srl, all rights reserved P.IVA 06969620480