import Limitry from '@limitry/sdk';
const client = new Limitry({
apiKey: process.env['LIMITRY_API_KEY'], // This is the default and can be omitted
});
const limit = await client.limits.delete('id');
console.log(limit.success);
Copy
{
"success": true
}
Limits
Delete a limit
Delete a limit by ID.
DELETE
/
limits
/
{id}
JavaScript
Copy
import Limitry from '@limitry/sdk';
const client = new Limitry({
apiKey: process.env['LIMITRY_API_KEY'], // This is the default and can be omitted
});
const limit = await client.limits.delete('id');
console.log(limit.success);