Get all the subscription features
Returns
Returns an array of
subscription_feature resource objects.
Examples
Example code:
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const subscriptionFeatures = await client.subscriptionFeatures.list();
subscriptionFeatures.forEach((subscriptionFeature) => {
console.log(subscriptionFeature);
});
}
run();
Returned output:
{
id: 'locales',
code: 'sso',
in_use: true,
enabled: true
}