# Withdraw a shared package

```http
DELETE /api/public/v1/contributor-network/items/{itemId}
```

**Scope**: `contributor-network.write`.

Withdraws an active Lean Kernel package authored by the calling account. The package disappears from active Contributor Network reads and the matching private Solution's publication lock is released.

## Path parameter

| Parameter | Type | Description |
| :--- | :--- | :--- |
| `itemId` | string | Stable Contributor Network item ID. |

The implemented endpoint takes no Competition or kind query discriminator.

## Example request

```bash
curl -X DELETE \
  "https://api.sair.foundation/api/public/v1/contributor-network/items/$ITEM_ID" \
  -H "Authorization: Bearer $SAIR_API_KEY"
```

## Successful response

```http
HTTP/1.1 204 No Content
```

The operation is idempotent for a Lean Kernel publication authored by the caller: retrying the same DELETE can return `204` after the item has already been marked deleted. A later publication requires a fresh `idempotencyKey` and produces a new public item.

Withdrawal releases active publication capacity but does not restore the UTC-day creation quota. Existing snapshots and evaluation records are unchanged.

## Errors

| Error | When |
| :--- | :--- |
| `403 ITEM_NOT_AUTHOR` | The item exists but the calling account is not its author. |
| `404 NOT_FOUND` | The item is missing or cannot be withdrawn through this operation. |
| `500` | The public item was marked deleted but the private Solution update could not be confirmed. Retry the same DELETE. |

See [Errors](../../../errors.md) for shared authentication, scope, and rate-limit errors.
