NetBird EDR Peers API

Manage EDR compliance bypass for peers.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/peers/{peer-id}/edr/bypass Bypass EDR compliance checks for a peer · Bypass compliance for a non-compliant peer #
Ask an LLM
“Can an admin bypass EDR compliance checks for a non-compliant device?”
“How long does a compliance bypass stay in effect?”
Tell an agent
Bypass EDR compliance checks for peer {peer_id}.
Let admin bypass compliance for device {peer_id}.
DELETE /api/peers/{peer-id}/edr/bypass Revoke a peer's compliance bypass · Revoke compliance bypass for a peer #
Ask an LLM
“How do I stop an admin bypass from protecting a device?”
“What happens to a peer's EDR checks once its bypass is revoked?”
Tell an agent destructive · confirm first
Revoke the compliance bypass for peer {peer_id}.
Remove the admin bypass on device {peer_id}.
GET /api/peers/edr/bypassed List peers with compliance bypassed · List all bypassed peers #
Ask an LLM
“Which devices currently have EDR compliance bypassed?”
“Can I see all bypassed peers at once?”
Tell an agent
List all peers with compliance bypassed.
Show every device that is bypassing EDR checks.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/netbird:netbird-edr-peers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

netbird-edr-peers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NetBird REST EDR Peers API
  description: API to manipulate groups, rules, policies and retrieve information about peers and users
  version: 0.0.1
servers:
- url: https://api.netbird.io
  description: Default server
security:
- BearerAuth: []
- TokenAuth: []
tags:
- name: EDR Peers
  description: Manage EDR compliance bypass for peers.
  x-cloud-only: true
paths:
  /api/peers/{peer-id}/edr/bypass:
    parameters:
    - name: peer-id
      in: path
      required: true
      schema:
        type: string
      description: The unique identifier of the peer
    post:
      tags:
      - EDR Peers
      summary: Bypass compliance for a non-compliant peer
      description: 'Allows an admin to bypass EDR compliance checks for a specific peer.

        The peer will remain bypassed until the admin revokes it OR the device becomes

        naturally compliant in the EDR system.'
      operationId: bypassCompliance
      responses:
        '200':
          description: Peer compliance bypassed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BypassResponse'
        '400':
          description: Bad Request (peer not in non-compliant state)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    delete:
      tags:
      - EDR Peers
      summary: Revoke compliance bypass for a peer
      description: Removes the compliance bypass, subjecting the peer to normal EDR validation.
      operationId: revokeBypass
      responses:
        '200':
          description: Compliance bypass revoked successfully
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /api/peers/edr/bypassed:
    get:
      tags:
      - EDR Peers
      summary: List all bypassed peers
      description: Returns all peers that have compliance bypassed by an admin.
      operationId: listBypassedPeers
      responses:
        '200':
          description: List of bypassed peers
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BypassResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      description: 'Standard error response. Note: The exact structure of this error response is inferred from `util.WriteErrorResponse` and `util.WriteError` usage in the provided Go code, as a specific Go struct for errors was not provided.'
      properties:
        message:
          type: string
          description: A human-readable error message.
          example: couldn't parse JSON request
    BypassResponse:
      type: object
      description: Response for bypassed peer operations.
      required:
      - peer_id
      properties:
        peer_id:
          type: string
          description: The ID of the bypassed peer.
          example: chacbco6lnnbn6cg5s91
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    TokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Enter the token with the `Token` prefix, e.g. "Token nbp_F3f0d.....".