---
title: "Delete an egress IP"
method: DELETE
path: "/vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}"
tags: ["vpcs"]
---

# Delete an egress IP

`DELETE /vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}`

## Request

- Base URL: `https://api.blaxel.ai/v0`
- URL: `https://api.blaxel.ai/v0/vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `/oauth/authorize`
    - Client credentials
    - Token URL: `/oauth/token` scopes: `admin`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/blaxel/apis/blaxel-control-plane/docs/vpcs/:vpcName/egressgateways/:gatewayName/ips/:ipName/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `vpcName` string, required
- `gatewayName` string, required
- `ipName` string, required

## Response `200`

successful operation

- EgressIP: An individual IP address allocated from an egress gateway for dedicated outbound traffic
  - `events` CoreEvent[]: Events happening on a resource deployed on Blaxel
    - `canaryRevision` string: Canary revisionID link to the event
    - `message` string: Event message
    - `revision` string: RevisionID link to the event
    - `status` string: Event status
    - `time` string: Event time
    - `type` string: Event type
  - `metadata` EgressIPMetadata, required: Owner fields for Persistence
    - `createdAt` string: The date and time when the resource was created
    - `updatedAt` string: The date and time when the resource was updated
    - `createdBy` string: The user or service account who created the resource
    - `updatedBy` string: The user or service account who updated the resource
    - `displayName` string: Human-readable name for display in the UI. Can contain spaces and special characters, max 63 characters.
    - `gatewayName` string: Name of the egress gateway this IP is allocated from
    - `name` string, required: Unique identifier for the egress IP within the gateway. Must be lowercase alphanumeric with hyphens, max 49 characters. Immutable after creation.
    - `vpcName` string: Name of the VPC this egress IP belongs to
    - `workspace` string: Name of the workspace this resource belongs to (read-only, set automatically)
  - `spec` EgressIPSpec, required: Specification for an egress IP including IP family and the provisioned address
    - `ipFamily` 'IPv4' | 'IPv6', required: IP address family, either IPv4 or IPv6
    - `publicIp` string: Public IP address assigned to this egress IP (read-only, set after provisioning)
  - `status` 'DELETING' | 'TERMINATED' | 'FAILED' | 'DEACTIVATED' | 'DEACTIVATING' | 'UPLOADING' | 'BUILDING' | 'DEPLOYING' | 'DEPLOYED' | 'BUILT': Deployment status of a resource deployed on Blaxel

---

[API](https://skmtc.dev/blaxel/apis/blaxel-control-plane.md) - [All operations](https://skmtc.dev/blaxel/apis/blaxel-control-plane/llms.txt) - [OpenAPI document](https://skmtc.dev/blaxel/apis/blaxel-control-plane/revisions/dfa264bc72ee?raw)
