Subject: | Cannot create Subaccount |
Creating a subaccount through the API has a little different syntax (see https://www.twilio.com/user/account/developer-tools/api-explorer/account-subaccount)
A POST request is made to https://api.twilio.com/2010-04-01/Accounts without the AccountSID in the URL.
This differs from Update Account (https://www.twilio.com/user/account/developer-tools/api-explorer/account-update) which requires the AccountSID in the URL - https://api.twilio.com/2010-04-01/Accounts/<AccountSID>
As far as I can tell, currently I cannot make a call to create subaccounts using this package. Unfortunately, Twilio implemented this action in a non-standard manner.