解除主、子账号财务关系。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DeleteFinancialRelation | 要执行的操作,取值:DeleteFinancialRelation |
Version | String | 是 | 2022-01-01 | API的版本,取值:2022-01-01 |
SubAccountID | Integer | 是 | 2000000000 | 子账号的火山引擎账号 UID |
RelationID | String | 是 | rel7340606030814515500 | 关系 ID |
Relation | Integer | 是 | 1 | 关系类型,目前仅支持企业财务 1 财务托管 4 财务管理 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
IsSuccess | Boolean | true | 是否成功 |
{ "SubAccountID":"2000000000", "RelationID":"rel7336772146369925420", "Relation":1 }
{ "ResponseMetadata": { "RequestId": "20230327113355546653D988035BA94DB1", "Action": "CreateFinancialRelation", "Version": "2022-01-01", "Result": { "IsSuccess": true "BaseResp": { "StatusMessage": "", "StatusCode": 0 } } } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | MissingParameter | The required parameter %s is missing. | 客户端参数缺失 |
400 | OperationDenied.OrderExist | Account %v has outstanding orders and the trusteeship cannot be disassociated! | 账号%v存在未完成的订单,无法解除托管关系! |
400 | OperationDenied.TrusteeshipMajorArrears | The available balance of account %v is negative, and the linked sub-account cannot be disassociated from trusteeship! | 账号%v可用余额为负,无法解除托管子账号! |
400 | OperationDenied.AccountRelationNotExist | The relationship between the invited associated account and the operation account does not exist! | 邀请的关联账号与操作账号关系不存在! |
400 | OperationDenied.UpdatingAuth | The current relationship is under change. Authorization | 当前关系存在变更中授权 |
400 | OperationDenied.FinanceManagementTakeBackFail | After the transfer credit control quota is forcibly withdrawn, the available balance of the sub-account is negative and the relationship cannot be terminated | 强制回收划拨的信控额度后,子账号可用余额为负,不能解除关系 |
400 | OperationDenied.TrusteeshipSubArrears | Account %v is in arrears and cannot be disassociated from trusteeship! | 账号%v存在欠费,不能解除托管! |
400 | ParamInvalid | The specified parameter %s is invalid. | 客户端参数错误 |
500 | InternalServerError | The request has failed due to an unknown error. | 系统错误,多次出现时请联系管理员 |