post https://console.cj.mereith.com/api/v3/create-namespaces-batch
Log in to see full request history
Responses
xxxxxxxxxx
20import { ManagementClient } from 'authing-node-sdk';
// 在 Node.js 中引用:
// const { ManagementClient } = require('authing-node-sdk');
const managementClient = new ManagementClient({
accessKeyId: 'AUTHING_USERPOOL_ID',
accessKeySecret: 'AUTHING_USERPOOL_SECRET',
});
(async () => {
const result = await managementClient.createNamespacesBatch({
list: [
{
code: 'ecs',
name: '我的权限分组',
description: '我的权限分组描述',
},
],
});
})();
Try It!
to start a request and see the response here! Or choose an example: