# `ApifyClient.API.Runs.RequestQueue`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/lib/apify_client/api/runs/request_queue.ex#L1)

Provides API endpoints related to api/runs/request queue

# `delete`

```elixir
@spec delete(run_id :: String.t(), opts :: keyword()) ::
  :ok | {:error, ApifyClient.Error.t()}
```

Delete the default request queue of an Actor run

Deletes the default request queue associated with an Actor run.

This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the
[Delete request queue](https://docs.apify.com/api/v2/request-queue-delete) endpoint.

# `get`

```elixir
@spec get(run_id :: String.t(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.RequestQueueResource.t()}
  | {:error, ApifyClient.Error.t()}
```

Get the default request queue of an Actor run

Returns the default request queue associated with an Actor run.

This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the
[Get request queue](https://docs.apify.com/api/v2/request-queue-get) endpoint.

# `update`

```elixir
@spec update(run_id :: String.t(), body :: map(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.RequestQueueResource.t()}
  | {:error, ApifyClient.Error.t()}
```

Update the default request queue of an Actor run

Updates the default request queue associated with an Actor run.

This endpoint is a shortcut for getting the run's `defaultRequestQueueId` and then using the
[Update request queue](https://docs.apify.com/api/v2/request-queue-put) endpoint.

## Request Body

**Content Types**: `application/json`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
