import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});const namespace = await client.namespaces.update('ns_01kabn43yqyxn2bx4ve84mczd3');console.log(namespace.id);
Copy
{ "data": { "id": "<string>" }}
Namespaces
Update Namespace
Update a namespace.
PATCH
/
namespaces
/
{namespaceId}
JavaScript
Copy
import Nuntly from '@nuntly/sdk';const client = new Nuntly({ apiKey: process.env['NUNTLY_API_KEY'], // This is the default and can be omitted});const namespace = await client.namespaces.update('ns_01kabn43yqyxn2bx4ve84mczd3');console.log(namespace.id);