调用ModifyLedgerAttribute修改账本属性
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ModifyLedgerAttribute |
系统规定参数。取值:ModifyLedgerAttribute。 |
LedgerId | String | 是 | l-c8cc7be3eea542axxxxxxxxxx |
账本实例ID。 |
LedgerName | String | 否 | firstledger |
账本名称。 |
LedgerDescription | String | 否 | 我的第一个账本 |
账本描述。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 89E6B5F5-7511-46A7-9EDB-3C6F8AA4D48C |
请求ID。 |
示例
请求示例
http(s)://[Endpoint]/?Action=ModifyLedgerAttribute
&LedgerId=l-c8cc7be3eea542axxxxxxxxxx
&<公共请求参数>
正常返回示例
XML
格式
<RequestId>89E6B5F5-7511-46A7-9EDB-3C6F8AA4D48C</RequestId>
JSON
格式
{
"RequestId": "89E6B5F5-7511-46A7-9EDB-3C6F8AA4D48C"
}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidParameter | The specified parameter %s is invalid. | 参数无效 |
400 | MissingParameter | You must specify the parameter %s. | 参数缺失 |
404 | ResourceNotFound | The specified resource %s does not exist. | 资源不存在 |
403 | UnauthorizedOperation | You are not authorized to perform this operation. %s | 无操作权限 |
访问错误中心查看更多错误码。
访问错误中心查看更多错误码。