Sorry, no results found for "".
IDs of records to publish, comma separated (a maximum of 200 IDs are allowed per request)
"42,86"
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 const item = await client.items.batchPublish({ "filter[ids]": "42,86" });7 8 // Check the 'Returned output' tab for the result ☝️9 console.log(item);10}11 12run();
1[]