You need to enable JavaScript to run this app.
文档中心
ArkClaw 企业版

ArkClaw 企业版

复制全文
下载 pdf
Image
UpdateClawImage - 更新ArkClaw自定义镜像信息
复制全文
下载 pdf
UpdateClawImage - 更新ArkClaw自定义镜像信息
更新ArkClaw自定义镜像信息。​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:UpdateClawImage​
要执行的操作,取值:UpdateClawImage。​
​
Version string 必选 示例值:2026-05-01​
API的版本,取值:2026-05-01。​
​
Description string 可选 示例值:updated description​
镜像描述。不填此参数,则不更新当前配置。​
​
DryRun boolean 可选 示例值:false​
是否仅做参数和权限检查而不实际执行操作。取值:​
  • true:仅做检查,校验通过返回DryRunOperation错误码。​
  • false(默认):实际执行操作。​
​
ImageId string 必选 示例值:cimg-yeqssiu****​
镜像ID,可以在ArkClaw控制台“镜像管理”页面获取。​
​
Name string 可选 示例值:updated-image​
镜像名称。不填此参数,则不更新当前配置。​
​
SpaceId string 必选 示例值:csi-yei8347ta8x****​
ArkClaw空间ID,可以在ArkClaw控制台“空间概览”页面的“基本信息”获取。​
​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
POST /?Action=UpdateClawImage&Version=2026-05-01 HTTP/1.1​
Host: https://arkclaw.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20260720T115557Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260720/cn-beijing/arkclaw/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"ImageId": "cimg-yeqssiu****",​
"Name": "updated-image",​
"SpaceId": "csi-yei8347ta8x****"​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20260702181002242086001****",​
"Action": "UpdateClawImage",​
"Version": "2026-05-01",​
"Service": "arkclaw",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter.ImageId​
The required parameter ImageId is not supplied.​
ImageId 不能为空。​
400​
InvalidDescription.Malformed​
The specified Description is malformed.​
参数Description不合法。​
400​
MissingParameter.SpaceId​
The required parameter SpaceId is not supplied.​
参数SpaceId不能为空。​
400​
InvalidName.Malformed​
The specified Name is malformed.​
Name 长度或格式不合法。​
400​
InvalidImageStatus​
The specified Image status does not allow this operation.​
镜像状态不允许更新。​
404​
InvalidSpace.NotFound​
The specified Space does not exist.​
指定ArkClaw空间不存在。​
404​
MissingParameter.UpdateFields​
The required parameter UpdateFields is not supplied.​
Name 和 Description 至少传入一个。​
404​
InvalidImage.NotFound​
The specified Image does not exist.​
指定的Image不存在。​
412​
DryRunOperation​
The user has the required permissions, so the request would have succeeded, but the DryRun parameter was used.​
DryRun检查通过;由于设置了DryRun参数,请求未真正执行。​
429​
FlowLimitExceeded​
The request was rejected due to flow control.​
请求触发限流。​
500​
InternalError​
An internal error has occurred.​
内部错误,请重试。如果多次尝试失败,请提交工单。​
​
​
最近更新时间:2026.07.21 14:22:37
这个页面对您有帮助吗?
有用
有用
无用
无用