---
title: "List outbound denials"
description: "Returns the outbound connections the computer's network policy recently refused."
canonical: "https://www.cool.computer/docs/api-reference/network/list-outbound-denials"
---
# List outbound denials

> Returns the outbound connections the computer's network policy recently refused.

```http
GET https://api.cool.computer/api/computers/{id}/network/denials
```

Returns the outbound connections the computer's network policy recently refused. The log is held in memory and resets when the host restarts. The owner only.

## Authorization

- A Cool Computers API key, user access token, or claimed agent access token in the Authorization header. Follow https://www.cool.computer/auth.md for agent registration and https://www.cool.computer/authentication.md for direct user credentials.

## Parameters

- `id` (path, string, at least 1 characters, required): The computer's name, such as agent-atlas, or its id (cmp_…). Every caller may use either, the computer's own runtime token included.

## Responses

- `200`: Recently refused outbound connections.
  - `application/json` (object)
    - `source` (string, required)
    - `reset_at` (string, date-time, required)
    - `capacity` (integer, required)
    - `denials` (array of object, required)
      - `type` ("host_policy" or "private_address" or "blocked_port" or "direct_traffic", required)
      - `host` (string, required)
      - `count` (integer, required)
      - `last_denied_at` (string, date-time, required)
- `401`: Unauthorized.
- `402`: Payment Required. `pro_required`: VMs need Pro; start Pro with cool billing upgrade, or fix a lapsed subscription with cool billing portal, or use the Account page.
- `403`: Forbidden.
- `404`: Not Found. `computer_not_found`: the computer does not exist or is not yours.
- `409`: Conflict.
- `429`: Too Many Requests. If the problem code is api_request_rate_exceeded, wait for Retry-After seconds; other problem codes describe a separate limit.
- `500`: Internal Server Error.
- `default`: A machine-readable API error with a stable code and recovery instruction.

An error is an `application/problem+json` document with a stable `code`; [API errors](/docs/api-reference/errors) says how to handle one.

## Example

```sh
curl "https://api.cool.computer/api/computers/$PARAM_ID/network/denials" \
  -H "authorization: Bearer $TOKEN"
```
