Show examples in:
    Create a new upload tag

    Body Parameters

    name  Required  string  Example: "Pictures of me"

    The tag name

    Returns

    Returns a upload_tag resource object.

    Examples

    Example Basic example
    import { buildClient } from '@datocms/cma-client-node';
    async function run() {
    const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
    const uploadTag = await client.uploadTags.create({
    name: 'Pictures of me'
    });
    console.log(uploadTag);
    }
    run();