NetBird Identity Providers API

Interact with and view information about identity providers.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 5

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

GET /api/identity-providers List identity providers · List all Identity Providers #
Ask an LLM
“Which identity providers are configured for my account?”
“What OAuth2 identity providers exist in my NetBird account?”
Tell an agent
List all identity providers.
Show every configured identity provider.
POST /api/identity-providers Add an identity provider · Create an Identity Provider #
Ask an LLM
“How do I add an OAuth2 identity provider so users can sign in?”
“Can I configure a new identity provider with an issuer URL and client credentials?”
Tell an agent
Create an identity provider named {name} of type {type} with issuer {issuer}, client ID {client_id} and secret {client_secret}.
Add a new {type} identity provider called {name} using {issuer} and client {client_id}.
GET /api/identity-providers/{idpId} Get an identity provider · Retrieve an Identity Provider #
Ask an LLM
“What issuer and type does a specific identity provider have?”
“Can I look up one identity provider by its ID?”
Tell an agent
Show identity provider {idpId}.
Get the configuration of identity provider {idpId}.
PUT /api/identity-providers/{idpId} Update an identity provider · Update an Identity Provider #
Ask an LLM
“How do I rotate the client secret on an existing identity provider?”
“Can I rename an identity provider or change its issuer URL?”
Tell an agent
Update identity provider {idpId} to type {type}, name {name}, issuer {issuer}, client ID {client_id}, secret {client_secret}.
Replace the configuration of identity provider {idpId} with {type} named {name}, issuer {issuer}, client {client_id}.
DELETE /api/identity-providers/{idpId} Delete an identity provider · Delete an Identity Provider #
Ask an LLM
“How do I remove an identity provider from my account?”
“Can I delete an OAuth2 identity provider I no longer use?”
Tell an agent destructive · confirm first
Delete identity provider {idpId}.
Remove the identity provider {idpId} from my account.

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-identity-providers-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-identity-providers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NetBird REST Identity Providers 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: Identity Providers
  description: Interact with and view information about identity providers.
paths:
  /api/identity-providers:
    get:
      summary: List all Identity Providers
      description: Returns a list of all identity providers configured for the account
      tags:
      - Identity Providers
      security:
      - BearerAuth: []
      - TokenAuth: []
      responses:
        '200':
          description: A JSON array of identity providers
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdentityProvider'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '500':
          $ref: '#/components/responses/internal_error'
      operationId: getApiIdentityProviders
      x-operation-id-source: derived
    post:
      summary: Create an Identity Provider
      description: Creates a new identity provider configuration
      tags:
      - Identity Providers
      security:
      - BearerAuth: []
      - TokenAuth: []
      requestBody:
        description: Identity provider configuration
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdentityProviderRequest'
      responses:
        '200':
          description: An Identity Provider object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityProvider'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '500':
          $ref: '#/components/responses/internal_error'
      operationId: postApiIdentityProviders
      x-operation-id-source: derived
  /api/identity-providers/{idpId}:
    get:
      summary: Retrieve an Identity Provider
      description: Get information about a specific identity provider
      tags:
      - Identity Providers
      security:
      - BearerAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: idpId
        required: true
        schema:
          type: string
        description: The unique identifier of an identity provider
      responses:
        '200':
          description: An Identity Provider object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityProvider'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '500':
          $ref: '#/components/responses/internal_error'
      operationId: getApiIdentityProvidersByIdpId
      x-operation-id-source: derived
    put:
      summary: Update an Identity Provider
      description: Update an existing identity provider configuration
      tags:
      - Identity Providers
      security:
      - BearerAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: idpId
        required: true
        schema:
          type: string
        description: The unique identifier of an identity provider
      requestBody:
        description: Identity provider update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdentityProviderRequest'
      responses:
        '200':
          description: An Identity Provider object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityProvider'
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '500':
          $ref: '#/components/responses/internal_error'
      operationId: putApiIdentityProvidersByIdpId
      x-operation-id-source: derived
    delete:
      summary: Delete an Identity Provider
      description: Delete an identity provider configuration
      tags:
      - Identity Providers
      security:
      - BearerAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: idpId
        required: true
        schema:
          type: string
        description: The unique identifier of an identity provider
      responses:
        '200':
          description: Delete status code
          content: {}
        '400':
          $ref: '#/components/responses/bad_request'
        '401':
          $ref: '#/components/responses/requires_authentication'
        '403':
          $ref: '#/components/responses/forbidden'
        '500':
          $ref: '#/components/responses/internal_error'
      operationId: deleteApiIdentityProvidersByIdpId
      x-operation-id-source: derived
components:
  responses:
    requires_authentication:
      description: Requires authentication
      content: {}
    internal_error:
      description: Internal Server Error
      content: {}
    forbidden:
      description: Forbidden
      content: {}
    bad_request:
      description: Bad Request
      content: {}
  schemas:
    IdentityProviderType:
      type: string
      description: Type of identity provider
      enum:
      - oidc
      - zitadel
      - entra
      - google
      - okta
      - pocketid
      - microsoft
      - adfs
      example: oidc
    IdentityProvider:
      type: object
      properties:
        id:
          description: Identity provider ID
          type: string
          example: ch8i4ug6lnn4g9hqv7l0
        type:
          $ref: '#/components/schemas/IdentityProviderType'
        name:
          description: Human-readable name for the identity provider
          type: string
          example: My OIDC Provider
        issuer:
          description: OIDC issuer URL
          type: string
          example: https://accounts.google.com
        client_id:
          description: OAuth2 client ID
          type: string
          example: 123456789.apps.googleusercontent.com
      required:
      - type
      - name
      - issuer
      - client_id
    IdentityProviderRequest:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/IdentityProviderType'
        name:
          description: Human-readable name for the identity provider
          type: string
          example: My OIDC Provider
        issuer:
          description: OIDC issuer URL
          type: string
          example: https://accounts.google.com
        client_id:
          description: OAuth2 client ID
          type: string
          example: 123456789.apps.googleusercontent.com
        client_secret:
          description: OAuth2 client secret
          type: string
          example: secret123
      required:
      - type
      - name
      - issuer
      - client_id
      - client_secret
  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.....".