---
title: "Detach Skill From Agent"
method: POST
path: "/api/skills/{skill_id}/detach-from-agent"
tags: ["skills"]
---

# Detach Skill From Agent

`POST /api/skills/{skill_id}/detach-from-agent`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/skills/{skill_id}/detach-from-agent`
- Auth: none declared

Retired: become the target identity and use the scoped uninstall route.

## Path parameters

- `skill_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- DetachSkillFromAgentBody
  - `agent_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
