Skip to main content
POST
更改计费计划

授权

Authorization
string
header
必填

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

路径参数

account_id
string<uuid>
必填

请求体

application/json

用于更改账户订阅计划的客户请求架构。

plan_id
enum<string>
必填

目标计费计划 ID

可用选项:
smtp_per_mailbox,
smtp_per_proxy
effective_date
string<date-time> | null

计划变更的请求生效日期

响应

status
string
必填

计费运行状态

account_status
string | null

操作后账户状态

effective_at
string<date-time> | null

计费变更何时生效

eligible
boolean | null

账户是否符合操作条件

previous_plan_id
string | null

以前的结算计划 ID

target_plan_id
string | null

目标计费计划 ID