Now I'm developing a project about softlayer api, I wan't create a child account by call softlayer api. Then I will associate the child account with major account by call softlayer api. And destroy the child account by aoftlayer api.
So there is three questions follow:
- How can I create a softlayer account by softlayer api ?
- How can I associate the child account with major account by softlayer api ?
- How can I destroy the child account by softlayer api ?
regards~
The SoftLayer_Brand service is the one needed to create new Accounts. In order to successfully create a new Account you need a BAP account, which are accounts for branding usage, if you haven’t got any, I suggest you to contact Sales department and ask for one.
You can create a Brand Account in this way using REST:
You can create a sub brand in this way using REST:
Note: Regarding how associate a child account with a major account, it would be accomplished creating a child brand and then creating accounts for that child brand.
Additionally, I suggest you to read the next links for further information: http://sldn.softlayer.com/reference/services/SoftLayer_Brand http://sldn.softlayer.com/reference/services/SoftLayer_Account