---
title: "Delete BGP Policy in neighbor"
method: DELETE
path: "/config/bgp/policy/apply"
---

# Delete BGP Policy in neighbor

`DELETE /config/bgp/policy/apply`

Delete BGP Policy in neighbor. It don't need "routeAction" in the attr body

## Request body

- BGPApplyPolicyToNeighborMod
  - `ipAddress` string, required — BGP Neighbor IP address
  - `policyType` 'import' | 'export', required
  - `policies` string[]
  - `routeAction` 'accept' | 'reject', required

## Response `204`

OK

## Other responses

- `400` — Malformed arguments for API call
- `401` — Invalid authentication credentials
- `403` — Capacity insufficient
- `404` — Resource not found
- `409` — Resource Conflict. Neigh already exists
- `500` — Internal service error
- `503` — Maintenance mode

---

[API](https://skmtc.net/loxilb-io/apis/loxilb-rest-api.md) · [All operations](https://skmtc.net/loxilb-io/apis/loxilb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loxilb-io/loxilb-rest-api/versions/45e9f0a95af0/schema)
