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