post https://console.cj.mereith.com/api/v3/create-user
创建用户,邮箱、手机号、用户名必须包含其中一个
Log in to see full request history
Responses
创建用户,邮箱、手机号、用户名必须包含其中一个
xxxxxxxxxx
21import { 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.createUser(
{
"username": "bob",
"email": "test@example.com",
"phone": "176xxxx6754",
"externalId": "10010"
},{
keepPassword: false
}
)
})();
Try It!
to start a request and see the response here! Or choose an example: