Claude Platform Docs

スキルを削除

DeletedSkill Skills.Delete(parameters, cancellationToken = default)
DELETE/v1/skills/{skill_id}

スキルを削除

Parameters
SkillDeleteParams parameters
required string skillID

Unique identifier for the skill.

The format and length of IDs may change over time.

string workspaceID

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Returns
class DeletedSkill { Type = "skill_deleted"; ID; }
JsonElement Type = "skill_deleted"

Deleted object type.

For Skills, this is always "skill_deleted".

required string ID

Unique identifier for the skill.

The format and length of IDs may change over time.

スキルを削除
SkillDeleteParams parameters = new() { SkillID = "skill_id" };

var deletedSkill = await client.Skills.Delete(parameters);

Console.WriteLine(deletedSkill);
Returns Examples
Response 200
{
  "id": "skill_01JAbcdefghijklmnopqrstuvw",
  "type": "skill_deleted"
}