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

# Remove carrier IP from SIP trunk API

> Stop accepting inbound calls from a carrier address on a SIP trunk via DELETE /trunk/trunks/{trunk_id}/ip-acls/{acl_id}.



## OpenAPI

````yaml DELETE /trunk/trunks/{trunk_id}/ip-acls/{acl_id}
openapi: 3.1.0
info:
  title: Bolna API
  description: >-
    Use and leverage Bolna Voice AI using APIs through HTTP requests from any
    language in your applications and workflows.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.bolna.ai
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: SIP trunks
    description: >-
      Bring-your-own-carrier SIP trunks, their gateways, carrier IPs and
      numbers.
paths:
  /trunk/trunks/{trunk_id}/ip-acls/{acl_id}:
    delete:
      tags:
        - SIP trunks
      description: >-
        Removes a carrier IP from a trunk. Bolna's SIP edge stops accepting this
        trunk's inbound calls from it, normally before the response returns.
      parameters:
        - in: path
          name: trunk_id
          required: true
          schema:
            type: string
            format: uuid
          description: The trunk's `id`
        - in: path
          name: acl_id
          required: true
          schema:
            type: string
            format: uuid
          description: The carrier IP's `id`
      responses:
        '200':
          description: Carrier IP removed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrunkChildDeleted'
              example:
                id: c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f
                is_deleted: true
        '404':
          description: >-
            The trunk, or a live carrier IP with this ID on it, was not found.
            For a missing carrier IP the `message` is `trunk_ip_acls:<acl_id>`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrunkMessageError'
components:
  schemas:
    TrunkChildDeleted:
      type: object
      description: Confirmation that a gateway, carrier IP or number was removed.
      properties:
        id:
          type: string
          format: uuid
          description: The removed item's ID.
        is_deleted:
          type: boolean
          example: true
    TrunkMessageError:
      type: object
      description: >-
        Error body for `400`, `403` and `404` responses from the SIP trunk
        endpoints.
      required:
        - message
      properties:
        message:
          type: string
          description: >-
            Human-readable reason. On a `404` it names the ID that was not
            found.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.