Sorry, no results found for "".

Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > Upload

Delete multiple uploads

Query parameters

filter[ids] string

IDs to destroy, comma separated

Example: "42,86"

Examples

import { buildClient } from "@datocms/cma-client-node";
async function run() {
const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const upload = await client.uploads.batchDestroy();
// Check the 'Returned output' tab for the result ☝️
console.log(upload);
}
run();
[]