Manage AWS Assets
Customers with active Amazon Web Services contracts can provision additional AWS accounts for their organizations with an easy to use RESTful API.
API ReferenceThe Assets API reference is available at https://developer.doit.com/reference/assets#create-asset
Required PermissionsBilling Profile Admin permissions (part of
Admin
built-in role)
This API has the following methods:
assets.create
The assets.create method provides a list of all managed by DoiT International assets.
You can filter the list by using one or more of the following parameters:
Parameter | Description |
---|---|
|
|
|
|
|
|
|
|
Sample assets.create request to create a new AWS account
curl --location --request POST 'https://api.doit.com/billing/v1/createAsset' \
--header 'Authorization: Bearer {YOUR_API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "amazon-web-services",
"mode": "NEW",
"accountName": "dev-sandbox",
"rootEmail": "[email protected]"
}'
YOUR_API_KEYReplace "YOUR_API_KEY" with your actual API key as explained at Get Started
Sample assets.create Response:
{
"accountID": "267440184142"
}
Updated 9 days ago