Show examples in:
    Batch add tags to uploads

    Query parameters

    filter[ids]  Optional  string  Example: "42,86"

    IDs to tag, comma separated

    Body Parameters

    tags  Required  Array<string>  Example: ["cats"]

    Tags

    Examples

    Example Basic example
    import { buildClient } from '@datocms/cma-client-node';
    async function run() {
    const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
    const result = await client.uploads.batchAddTags({
    tags: [
    'cats'
    ]
    });
    console.log(result);
    }
    run();