Account
アカウントのAPIリファレンスは以下の通りです。
Create
アカウントの作成
Role actions
ModifyAccount
Request
POST /accts HTTP1.1
Authorization: Bearer {token}
Content-Type: application/json
{request body}以下に{request body}のリクエストペイロードの例を示します。
{request body}
{
"vendor":"aws",
"customer_id":"012345678912",
"account_id":"919999618919"
"company_id":"AJfdivbDjhvbpE",
"name":"ripple customer1",
"note":null
}{request body} description
Field
Type
Required
Validation
Description
customer_id
string
Yes
- AWS 12桁 - Azure 16~36桁
- AWS AccountID - Azure SubscriptionID
account_id
string
Yes
- AWS 12桁 - AZURE 7桁
- AWS PayerAccountID - Azure BillingID
company_id
string
Yes
-
請求グループ内部ID
vendor
string
Yes
- サポート: aws,azure
name
string
Yes
- 長さ: 3 ~ 100
登録する顧客名
note
string
No
-
備考欄
Response
Pythonでのサンプル
List
アカウントリストの取得
Role actions
ReadAccountModifyAccount
Request
以下に{vendor}のパラメータの例を示します。
{vendor}
aws
azure
Response
Update
アカウントの更新
Role actions
ModifyAccount
Request
以下に{customer_id}のパラメータの例を示します。
{customer_id}
AWS AccountID or Azure SubscriptionID
以下に{request body}のリクエストペイロードの例を示します。
{request body}
{request body} description
Field
Type
Required
Validation
Description
account_id
string
Yes
- AWS 12桁 - AZURE 7桁
- AWS PayerAccountID - Azure BillingID
company_id
string
Yes
-
請求グループ内部ID
vendor
string
Yes
- サポート: aws,azure
name
string
Yes
- 長さ: 3 ~ 100
登録する顧客名
note
string
No
-
備考欄
Response
Delete
アカウントの削除
Role actions
ModifyAccount
Request
以下に{vendor}のパラメータの例を示します。
{vendor}
aws
azure
以下に{id}フォーマットのパラメータの例を示します。
{id}
{customer_id}|{account_id}。 エンドポイント例: /accts/aws/012345678912|919999618919
Response
Last updated
Was this helpful?