get https://api.duda.co/api/permission-groups/default
List Duda's assignable permission group for staff account.
Responses
List Duda's assignable permission group for staff account.
xxxxxxxxxx
10const { Duda } = require('@dudadev/partner-api');
​
const duda = new Duda({
user: 'api-user',
pass: 'api-pass'
});
​
duda.accounts.permissions.listDudaTeamGroups()
.then((groups) => console.log(groups))
.catch((err) => console.error(err))