API Reference
Reference for the API
JavaScript
import Dasdk from 'dasdk'; const client = new Dasdk({ apiKey: 'My API Key', }); const user = await client.user.create(); console.log(user.id);
{ "id": 10, "username": "theUser", "firstName": "John", "lastName": "James", "email": "[email protected]", "password": "12345", "phone": "12345", "userStatus": 1 }
This can only be done by the logged in user.
Created user object
10
"theUser"
"John"
"James"
"[email protected]"
"12345"
User Status
1
successful operation