Choose your language:
    Get all the subscription features
    Returns
    Returns an array of subscription_feature objects.

    Examples

    Example code:
    const { SiteClient } = require('datocms-client');
    async function run() {
    const client = new SiteClient('YOUR-API-TOKEN');
    const subscriptionFeatures = await client.subscriptionFeatures.all();
    subscriptionFeatures.forEach((subscriptionFeature) => {
    console.log(subscriptionFeature);
    });
    }
    run();
    Returned output:
    > node example.js
    {
    "id": "locales",
    "code": "sso",
    "inUse": true,
    "enabled": true
    }