---
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

---

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