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

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-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"
}

Did this page help you?