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.

📘

Required Permissions

Billing Profile Admin permissions (part of Admin built-in role)

This API has the following methods:

assets.create

The Create an asset method provides a list of all the assets managed by DoiT International.

You can filter the list by using one or more of the following parameters:

Parameter

Description

type

string
Please use "amazon-web-services" to create new AWS assets.

mode

string
Use NEW to create new AWS accounts and INVITE to add existing AWS accounts.

accountName

string
Friendly AWS account name.

rootEmail

string
Root email for your AWS account. Please note, root emails should be unique for each AWS account.

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_KEY

Replace "YOUR_API_KEY" with your actual API key as explained at Get Started


Sample assets.create Response:

{
    "accountID": "267440184142"
}