NetBird Full API Reference + Read-Only MCP Prototype
DELETE/api/identity-providers/{idpId}

Delete an identity provider

Deletes an identity provider configuration using its unique identifier. Use this endpoint to remove a provider configuration that is no longer needed.

1 parameter
idpIdstringrequired
The unique identifier of the identity provider to delete.

5 status codes
200Returns the deletion status.
400Returned when the request is invalid.
401Returned when the request does not include valid authentication.
403Returned when the authenticated user is not permitted to delete the identity provider.
500Returned when an internal server error occurs.

Error handling

A 400 is returned when the request is invalid. A 401 is returned when the request does not include valid authentication, a 403 when the authenticated user is not permitted to delete the provider, and a 500 when an internal server error occurs. The idpId path parameter identifies the identity provider to delete.