Using the Plivo API, I am able to create a subaccount, however the subaccount remains disabled. I can't see what I am doing wrong, either the docs are wrong or there is a bug in the API. It seems like enabled: true
does not do anything. Any thoughts? Thanks
var plivo = require('plivo');
var plivoclient = new plivo.Client(auth_id, auth_token);
plivoclient.subAccounts.create("subaccount name", {
enabled: true
})