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

# Remove an IP

> Removes a secondary IP address from the server. You cannot remove the primary IPv4 or IPv6 address.



## OpenAPI

````yaml DELETE /servers/{server}/ips/{address}
openapi: 3.0.3
info:
  title: CloudBlast API
  description: >-
    The CloudBlast V2 API provides a modern RESTful interface for managing your
    cloud infrastructure programmatically. All responses follow a consistent `{
    "data": ... }` or `{ "error": ... }` format.
  version: 2.0.0
servers:
  - url: https://console.cloudblast.io/api/v2
    description: Production
security:
  - bearerAuth: []
paths:
  /servers/{server}/ips/{address}:
    delete:
      tags:
        - Server IPs
      summary: Remove an IP
      description: >-
        Removes a secondary IP address from the server. You cannot remove the
        primary IPv4 or IPv6 address.
      operationId: removeServerIp
      parameters:
        - $ref: '#/components/parameters/ServerIdentifier'
        - name: address
          in: path
          required: true
          schema:
            type: string
          description: The IP address to remove (e.g., `203.0.113.50`)
          example: 203.0.113.50
      responses:
        '204':
          description: IP removed
        '400':
          description: Cannot remove primary IP
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: CANNOT_REMOVE_PRIMARY
                  message: Cannot remove the primary IP address.
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    ServerIdentifier:
      name: server
      in: path
      required: true
      schema:
        type: string
      description: >-
        Server identifier — any of: numeric `id`, `uuid_short` (8 chars), or
        full `uuid` (36 chars).
      example: a1b2c3d4
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable error code
            message:
              type: string
              description: Human-readable error message
          required:
            - code
            - message
  responses:
    Unauthenticated:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: UNAUTHENTICATED
              message: >-
                Missing or invalid Authorization header. Use: Authorization:
                Bearer <token>
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: NOT_FOUND
              message: Server not found.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token from your CloudBlast account settings. Pass as `Authorization:
        Bearer <token>`.

````