---
title: "Delete Slash Command"
method: DELETE
path: "/api/slash-commands/{name}"
---

# Delete Slash Command

`DELETE /api/slash-commands/{name}`

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- SlashCommandDeleteResponse
  - `ok` boolean, required
  - `sync` SlashSyncEntryResponse[], required
    - `error` string, nullable
    - `path` string, required
    - `status` 'synced' | 'removed' | 'not_selected' | 'blocked_manual_file' | 'blocked_modified_file' | 'missing' | 'drifted' | 'failed', required
    - `target` 'opencode' | 'claude' | 'cursor' | 'codex', required

## Other responses

- `422` — Validation Error

## Changes

- **2026-04-29** `2073c669fff2` — 3 warning
  - added the new `blocked_modified_file` enum value to the `sync/items/status` response property for the response status `200`
  - added the new `drifted` enum value to the `sync/items/status` response property for the response status `200`
  - added the new `missing` enum value to the `sync/items/status` response property for the response status `200`
- **2026-04-29** `7710f75fad0f` — 1 info
  - endpoint added
- **2026-04-17** `a9787ab8c53c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mode-io/apis/skill-manager/changes/api/slash-commands/:name/delete.md)

---

[API](https://skmtc.dev/mode-io/apis/skill-manager.md) · [All operations](https://skmtc.dev/mode-io/apis/skill-manager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mode-io/skill-manager/revisions/a2b29a5aa8b4/schema)
