Skills
Delete a skill
Delete a skill from your catalog.
DELETE
/
api
/
v2
/
skills
/
{name}
from hai_agents import Client
client = Client()
client.skills.delete_skill(name="extract-table-data")
import { HaiAgentsClient } from "hai-agents";
const client = new HaiAgentsClient();
await client.skills.deleteSkill({ name: "extract-table-data" });
curl -X DELETE https://agp.eu.hcompany.ai/api/v2/skills/extract-table-data \
-H "Authorization: Bearer $HAI_API_KEY"
Behavior
Agents that reference it lose access from their next session.Path parameters
string
required
The skill’s
name, for example extract-table-data or myorg/web-helper.Response
204 No Content.
from hai_agents import Client
client = Client()
client.skills.delete_skill(name="extract-table-data")
import { HaiAgentsClient } from "hai-agents";
const client = new HaiAgentsClient();
await client.skills.deleteSkill({ name: "extract-table-data" });
curl -X DELETE https://agp.eu.hcompany.ai/api/v2/skills/extract-table-data \
-H "Authorization: Bearer $HAI_API_KEY"
Errors
| Status | Cause |
|---|---|
403 | The skill is reserved (h/) and read-only. |
404 | Not found, or not in your organization. |
Was this page helpful?
⌘I
from hai_agents import Client
client = Client()
client.skills.delete_skill(name="extract-table-data")
import { HaiAgentsClient } from "hai-agents";
const client = new HaiAgentsClient();
await client.skills.deleteSkill({ name: "extract-table-data" });
curl -X DELETE https://agp.eu.hcompany.ai/api/v2/skills/extract-table-data \
-H "Authorization: Bearer $HAI_API_KEY"