---
title: "Remove a resource from a workspace collection"
method: DELETE
path: "/workspaces/{slug}/collections/{collection}/items/{itemId}"
---

# Remove a resource from a workspace collection

`DELETE /workspaces/{slug}/collections/{collection}/items/{itemId}`

## Request

- Base URL: `https://superskill.sh/api`
- URL: `https://superskill.sh/api/workspaces/{slug}/collections/{collection}/items/{itemId}`
- Auth: HTTP bearer

Removes a workspace-scoped approval or collection entry. If a public marketplace approval is no longer referenced by any workspace collection, the derived workspace resource is removed from workspace search/detail as well.

## Path parameters

- `slug` string, required
- `collection` string, required
- `itemId` string, required

## Response `200`

Workspace collection item removed

- object
  - `workspace` Workspace
    - `slug` string, required
    - `name` string, required
    - `type` 'company' | 'community' | 'team' | 'course' | 'agency' | 'chat', required
    - `visibility` 'private' | 'invite_only' | 'gated' | 'public' | 'unlisted', required
    - `plan` 'free' | 'team' | 'enterprise', required
    - `description` string, nullable
    - `avatarUrl` string, nullable
  - `collection` WorkspaceCollection
    - `slug` string, required
    - `title` string, required
    - `summary` string, nullable
    - `visibility` 'workspace' | 'public' | 'unlisted', required
    - `createdAt` string, required
    - `updatedAt` string, required
    - `archivedAt` string, nullable
    - `items` WorkspaceCollectionItem[], required
      - `id` string, required
      - `itemRef` string, required
      - `itemSource` 'public_resource' | 'workspace_resource' | 'native_harness' | 'external_url', required
      - `sourceResourceId` string
      - `pinnedVersion` string, nullable
      - `pinnedArchiveHash` string, nullable
      - `approvalState` 'pending_review' | 'approved' | 'approved_with_warning' | 'blocked' | 'blocked_by_scan' | 'deprecated', required
      - `approvedBy` string, nullable
      - `approvedAt` string, nullable
      - `note` string, nullable
      - `riskSnapshot` object
      - `createdAt` string, required
      - `updatedAt` string, required
  - `item` WorkspaceCollectionItem
    - `id` string, required
    - `itemRef` string, required
    - `itemSource` 'public_resource' | 'workspace_resource' | 'native_harness' | 'external_url', required
    - `sourceResourceId` string
    - `pinnedVersion` string, nullable
    - `pinnedArchiveHash` string, nullable
    - `approvalState` 'pending_review' | 'approved' | 'approved_with_warning' | 'blocked' | 'blocked_by_scan' | 'deprecated', required
    - `approvedBy` string, nullable
    - `approvedAt` string, nullable
    - `note` string, nullable
    - `riskSnapshot` object
    - `createdAt` string, required
    - `updatedAt` string, required
  - `removedResourceId` string
  - `next` string

## Other responses

- `400`: Bad request
- `401`: Authorization required
- `403`: Authorization was provided but is not allowed for this action
- `404`: Resource not found

---

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