---
title: "Delete Default Gateway."
method: DELETE
path: "/networks/{id}/default_gateway"
tags: ["Networks"]
---

# Delete Default Gateway.

`DELETE /networks/{id}/default_gateway`

Delete Default Gateway.

## Path parameters

- `id` string, uuid, required

## Response `200`

Successful response

- object
  - `data` DefaultGateway[]
    - `id` string, uuid — Identifies the resource.
    - `record_type` string — Identifies the type of the resource.
    - `created_at` string — ISO 8601 formatted date-time indicating when the resource was created.
    - `updated_at` string — ISO 8601 formatted date-time indicating when the resource was updated.
    - `network_id` string, uuid — Network ID.
    - `wireguard_peer_id` string, uuid — Wireguard peer ID.
    - `status` 'created' | 'provisioning' | 'provisioned' | 'deleting' — The current status of the interface deployment.
  - `meta` PaginationMeta
    - `total_pages` integer
    - `total_results` integer
    - `page_number` integer
    - `page_size` integer

## Other responses

- `422` — Unexpected error
- `default` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
