Skip to main content
POST
删除技能

限制说明

使用说明

  • 仅为软删除:将 status 置为 deleted 并重命名该行以释放原名称供复用;技能的压缩包不会从对象存储中删除。
  • 对已删除或不存在的 skill_id 再次删除会返回 ResourceNotFound,因为查找逻辑在执行删除前就已排除已删除的行。
  • 每次调用都会记录到账户审计日志。

授权

app_key
string
query
必填

App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.

请求体

application/json

按 ID 删除技能。

skill_id
string
必填

目标技能 ID,取自 POST /safari/skill/list 返回的列表。

响应

成功

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
必填

本次请求的唯一 ID,与 Flashcat-Request-Id 响应头一致。反馈问题时请携带该 ID。

示例:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

响应结构中的错误 payload,仅在非 2xx 响应时出现。

data
null

成功时恒为 null。