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 Reference
The Assets API reference is available at https://developer.doit-intl.com/reference/assets#create-asset
Required Permissions
Billing 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-intl.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-key
Always replace "your-api-key" with your actual API key as explained at Getting Started
Sample assets.create Response:
{
"accountID": "267440184142"
}
Updated over 1 year ago