Skip to content

Admin API Reference

Keycloak.AuthServices.Sdk provides a basic support for common and most popular API endpoints.

The full API documentation - https://www.keycloak.org/docs-api/latest/rest-api/.

IMPORTANT

Keycloak.AuthServices is an open source project with limited developer capacity. Many API endpoints might be missing. But contributions are encouraged!

contributionswelcome

💡Alternatively, you may want to use OpenAPI definition for Keycloak to generate a client based on your generator of choice - see OpenAPI Support for more details.

👍Keycloak.AuthServices.Sdk.Kiota provides out-of-the box client generated based on Kiota - see Generated Client - Kiota for more details.

cs
namespace Keycloak.AuthServices.Sdk.Admin;

/// <summary>
/// Keycloak Admin API Client
/// </summary>
/// <remarks>
/// Aggregates multiple clients
/// </remarks>
public interface IKeycloakClient
    : IKeycloakRealmClient,
        IKeycloakUserClient,
        IKeycloakGroupClient { }