AnthropicClaude 托管智能体

删除技能版本

删除一个 Skill 的指定版本。

DELETE /anthropic/v1/skills/{skill_id}/versions/{version}○ 未支持

请求参数

  • skill_idstring必填

    path: Skill ID(路径或查询参数)。

  • versionstring必填

    path: 路径参数:版本号。

  • skill_idstring必填

    query: Skill ID(路径或查询参数)。

返回

501 平台还没有实现这个端点;调用会得到下面这个响应:

平台还不支持上传和管理 Skills;创建智能体时传入 skills 会返回 400。调用会返回 501(not_implemented_error),不产生副作用,官方 SDK 不会重试。

错误按 Claude Managed Agents 格式返回,参见 错误码

响应

HTTP 200

Successful response

application/json

名称类型说明
idstringUnique identifier for this Skill Version. The id addresses the version in paths and pins it in references.
typestringDeleted object type. For Skill Versions, this is always `"skill_version_deleted"`.