---
title: "Deprecated alias of `PATCH /settings/skills/{slug}`: a partial update, where omitted or `null` fields keep their current value."
method: PUT
path: "/settings/skills/{slug}"
tags: ["Agents"]
deprecated: true
---

# Deprecated alias of \`PATCH /settings/skills/{slug}\`: a partial update, where omitted or \`null\` fields keep their current value.

`PUT /settings/skills/{slug}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/settings/skills/{slug}`
- Auth: HTTP bearer

> **Deprecated.**

## Path parameters

- `slug` string, required

## Request body

- UpdateSkillRequest: Partial update of a skill: omitted or `null` fields keep their current value.
  - `content` string, nullable: New SKILL.md content. Omit or send `null` to keep the current content.
  - `description` string, nullable: New description. Omit or send `null` to keep the current description; an empty string clears it (stored and returned as `null`).
  - `name` string, nullable: New display name. Omit or send `null` to keep the current name.

## Response `200`

Updated definition

- SkillDefinitionResponse
  - `content` string, required
  - `created_at` string, required
  - `description` string, nullable
  - `has_archive` boolean, required
  - `id` integer, required
  - `name` string, required
  - `project_id` integer, nullable
  - `slug` string, required
  - `updated_at` string, required

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Skill not found
- `500`: Internal server error

## Changes

- **2026-11-26** `e1864d950604`: 4 info
  - api operation id `update_global_skill` removed and replaced with `update_global_skill_put`
  - endpoint deprecated
  - added the non-success response with the status `403`
  - added the non-success response with the status `500`
- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/settings/skills/:slug/put.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
