Lists all namespaces for the authenticated organization.
GET
/
v1
/
namespaces
JavaScript
import Charcoal from '@charcoalhq/sdk';
const client = new Charcoal({
apiKey: process.env['CHARCOAL_API_KEY'], // This is the default and can be omitted
});
const namespaces = await client.namespaces.list();
console.log(namespaces.results);
import Charcoal from '@charcoalhq/sdk';
const client = new Charcoal({
apiKey: process.env['CHARCOAL_API_KEY'], // This is the default and can be omitted
});
const namespaces = await client.namespaces.list();
console.log(namespaces.results);