更新订阅绑定的计费账户信息 | 大装置帮助中心
跳到主要内容

更新订阅绑定的计费账户信息

更新订阅绑定的计费账户信息

Path Parameters
    name string required

    订阅标识

Request Body required
    name string required

    订阅标识

    billing_accounts object[]

    计费账户信息

  • Array [
  • id string

    订阅关联计费账户ID

    billing_account_id string required

    计费帐号ID

    apply_ratio int32 required

    计费账户申请分配比例

  • ]
Responses

OK


Schema
    billing_accounts object[]

    计费账户信息

  • Array [
  • billing_account_id string required

    计费帐号ID

    apply_ratio int32 required

    计费账户申请分配比例

  • ]
POST /v1/subscriptions/:name/billingAccounts

Authorization

name: bearerAuthtype: httpscheme: bearer

Request

Base URL
https://management.sensecoreapi.cn/rmh
Bearer Token
name — path required
Body required
{
"name": "string",
"billing_accounts": [
{
"id": "string",
"billing_account_id": "string",
"apply_ratio": 0
}
]
}
curl / cURL
curl -L -X POST 'https://management.sensecoreapi.cn/rmh/v1/subscriptions/:name/billingAccounts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"billing_accounts": [
{
"id": "string",
"billing_account_id": "string",
"apply_ratio": 0
}
]
}'