Sorry, no results found for "".

Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > Subscription limit

Get a single subscription limit

Returns

Returns a resource object of type subscription_limit

Examples

import { buildClient } from "@datocms/cma-client-node";
async function run() {
const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const subscriptionLimitId = "locales";
const subscriptionLimit =
await client.subscriptionLimits.find(subscriptionLimitId);
// Check the 'Returned output' tab for the result ☝️
console.log(subscriptionLimit);
}
run();
{ id: "locales", code: "users", usage: 2, limit: 10 }