---
title: "Restore a skipped queue occurrence"
description: "PubNio API queues.skips.delete: restore a skipped queue occurrence. Request fields, examples in five clients, errors, and idempotency."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Restore a skipped queue occurrence

Restore a skipped queue occurrence with [`DELETE /api/v1/queues/{queueId}/skips/{skipId}`](https://pubnio.com/api/v1/docs#tag/queues/DELETE/api/v1/queues/{queueId}/skips/{skipId}). Requires an API key with the `publish` scope or a signed-in workspace owner.

## Request

| Parameter     | In    | Type | Required |
| ------------- | ----- | ---- | -------- |
| `queueId`     | path  | UUID | Yes      |
| `skipId`      | path  | UUID | Yes      |
| `workspaceId` | query | UUID | Yes      |

## Response

- HTTP 200: `QueueDeleted` with `deleted`.

The [OpenAPI document](https://pubnio.com/api/v1/openapi) has each field's type.

## Examples

### TypeScript

```ts
const restored = await workspace.queues.unskip(queueId, skipId);
```

### Python

```python
restored = workspace.queues.delete_skip(queue_id, skip_id)
```

### cURL

```sh
curl -X DELETE "https://pubnio.com/api/v1/queues/$QUEUE_ID/skips/$SKIP_ID?workspaceId=$WORKSPACE_ID" \
  -H "Authorization: Bearer $PUBNIO_API_KEY"
```

### CLI

```sh
pnio queues unskip "$QUEUE_ID" --skip-id "$SKIP_ID"
```

### MCP execute

```js
async () => {
  const queueId = "<queueId>";
  const skipId = "<skipId>";
  const response = await codemode.request({
    method: "DELETE",
    path: `/api/v1/queues/${queueId}/skips/${skipId}`,
    query: { workspaceId: codemode.workspaceId },
  });
  return response.data;
};
```

## Errors

It declares no problem of its own.

It declares the problems [most operations](https://pubnio.com/docs/reference/#shared-problems) declare.

## Idempotency

No key, so a retried `DELETE` is not deduplicated. Read the current state before you retry.

## Limits

- Field lengths and ranges are in the [OpenAPI document](https://pubnio.com/api/v1/openapi).

## Related

- [Queues operations](https://pubnio.com/docs/reference/#queues)
- [Publishing](https://pubnio.com/docs/publishing/)

Source: https://pubnio.com/docs/reference/queues-skips-delete/index.mdx
