# \SsoAdminApi

All URIs are relative to *https://registry.example.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_ldap_config**](SsoAdminApi.md#create_ldap_config) | **POST** /api/v1/admin/auth/sso-admin/ldap | Create LDAP configuration
[**create_oidc_config**](SsoAdminApi.md#create_oidc_config) | **POST** /api/v1/admin/auth/sso-admin/oidc | Create OIDC configuration
[**create_saml_config**](SsoAdminApi.md#create_saml_config) | **POST** /api/v1/admin/auth/sso-admin/saml | Create SAML configuration
[**delete_ldap_config**](SsoAdminApi.md#delete_ldap_config) | **DELETE** /api/v1/admin/auth/sso-admin/ldap/{id} | Delete LDAP configuration
[**delete_oidc_config**](SsoAdminApi.md#delete_oidc_config) | **DELETE** /api/v1/admin/auth/sso-admin/oidc/{id} | Delete OIDC configuration
[**delete_saml_config**](SsoAdminApi.md#delete_saml_config) | **DELETE** /api/v1/admin/auth/sso-admin/saml/{id} | Delete SAML configuration
[**get_ldap_config**](SsoAdminApi.md#get_ldap_config) | **GET** /api/v1/admin/auth/sso-admin/ldap/{id} | Get LDAP configuration
[**get_oidc_config**](SsoAdminApi.md#get_oidc_config) | **GET** /api/v1/admin/auth/sso-admin/oidc/{id} | Get OIDC configuration
[**get_saml_config**](SsoAdminApi.md#get_saml_config) | **GET** /api/v1/admin/auth/sso-admin/saml/{id} | Get SAML configuration
[**list_ldap_configs**](SsoAdminApi.md#list_ldap_configs) | **GET** /api/v1/admin/auth/sso-admin/ldap | List LDAP configurations
[**list_oidc_configs**](SsoAdminApi.md#list_oidc_configs) | **GET** /api/v1/admin/auth/sso-admin/oidc | List OIDC configurations
[**list_saml_configs**](SsoAdminApi.md#list_saml_configs) | **GET** /api/v1/admin/auth/sso-admin/saml | List SAML configurations
[**list_sso_providers**](SsoAdminApi.md#list_sso_providers) | **GET** /api/v1/admin/auth/sso-admin/providers | List all SSO providers
[**test_ldap_config**](SsoAdminApi.md#test_ldap_config) | **POST** /api/v1/admin/auth/sso-admin/ldap/{id}/test | Test LDAP configuration
[**toggle_ldap_config**](SsoAdminApi.md#toggle_ldap_config) | **PATCH** /api/v1/admin/auth/sso-admin/ldap/{id}/toggle | Toggle LDAP configuration
[**toggle_oidc_config**](SsoAdminApi.md#toggle_oidc_config) | **PATCH** /api/v1/admin/auth/sso-admin/oidc/{id}/toggle | Toggle OIDC configuration
[**toggle_saml_config**](SsoAdminApi.md#toggle_saml_config) | **PATCH** /api/v1/admin/auth/sso-admin/saml/{id}/toggle | Toggle SAML configuration
[**update_ldap_config**](SsoAdminApi.md#update_ldap_config) | **PUT** /api/v1/admin/auth/sso-admin/ldap/{id} | Update LDAP configuration
[**update_oidc_config**](SsoAdminApi.md#update_oidc_config) | **PUT** /api/v1/admin/auth/sso-admin/oidc/{id} | Update OIDC configuration
[**update_saml_config**](SsoAdminApi.md#update_saml_config) | **PUT** /api/v1/admin/auth/sso-admin/saml/{id} | Update SAML configuration



## create_ldap_config

> models::LdapConfigResponse create_ldap_config(create_ldap_config_request)
Create LDAP configuration

Creates a new LDAP directory configuration for user authentication and group synchronization. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**create_ldap_config_request** | [**CreateLdapConfigRequest**](CreateLdapConfigRequest.md) |  | [required] |

### Return type

[**models::LdapConfigResponse**](LdapConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## create_oidc_config

> models::OidcConfigResponse create_oidc_config(create_oidc_config_request)
Create OIDC configuration

Creates a new OIDC identity provider configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**create_oidc_config_request** | [**CreateOidcConfigRequest**](CreateOidcConfigRequest.md) |  | [required] |

### Return type

[**models::OidcConfigResponse**](OidcConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## create_saml_config

> models::SamlConfigResponse create_saml_config(create_saml_config_request)
Create SAML configuration

Creates a new SAML identity provider configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**create_saml_config_request** | [**CreateSamlConfigRequest**](CreateSamlConfigRequest.md) |  | [required] |

### Return type

[**models::SamlConfigResponse**](SamlConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## delete_ldap_config

> delete_ldap_config(id)
Delete LDAP configuration

Permanently deletes an LDAP directory configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | LDAP configuration UUID | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## delete_oidc_config

> delete_oidc_config(id)
Delete OIDC configuration

Permanently deletes an OIDC identity provider configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | OIDC configuration UUID | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## delete_saml_config

> delete_saml_config(id)
Delete SAML configuration

Permanently deletes a SAML identity provider configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | SAML configuration UUID | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_ldap_config

> models::LdapConfigResponse get_ldap_config(id)
Get LDAP configuration

Returns a single LDAP directory configuration by ID. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | LDAP configuration UUID | [required] |

### Return type

[**models::LdapConfigResponse**](LdapConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_oidc_config

> models::OidcConfigResponse get_oidc_config(id)
Get OIDC configuration

Returns a single OIDC identity provider configuration by ID. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | OIDC configuration UUID | [required] |

### Return type

[**models::OidcConfigResponse**](OidcConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_saml_config

> models::SamlConfigResponse get_saml_config(id)
Get SAML configuration

Returns a single SAML identity provider configuration by ID. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | SAML configuration UUID | [required] |

### Return type

[**models::SamlConfigResponse**](SamlConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_ldap_configs

> Vec<models::LdapConfigResponse> list_ldap_configs()
List LDAP configurations

Returns all configured LDAP directory configurations. Requires admin privileges.

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::LdapConfigResponse>**](LdapConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_oidc_configs

> Vec<models::OidcConfigResponse> list_oidc_configs()
List OIDC configurations

Returns all configured OIDC identity provider configurations. Requires admin privileges.

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::OidcConfigResponse>**](OidcConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_saml_configs

> Vec<models::SamlConfigResponse> list_saml_configs()
List SAML configurations

Returns all configured SAML identity provider configurations. Requires admin privileges.

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::SamlConfigResponse>**](SamlConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_sso_providers

> Vec<models::SsoProviderInfo> list_sso_providers()
List all SSO providers

Returns a unified list of all configured SSO providers across OIDC, LDAP, and SAML. Requires admin privileges.

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::SsoProviderInfo>**](SsoProviderInfo.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## test_ldap_config

> models::LdapTestResult test_ldap_config(id)
Test LDAP configuration

Tests the connectivity and authentication of an LDAP directory configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | LDAP configuration UUID | [required] |

### Return type

[**models::LdapTestResult**](LdapTestResult.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## toggle_ldap_config

> models::LdapConfigResponse toggle_ldap_config(id, toggle_ldap_config_request)
Toggle LDAP configuration

Enables or disables an LDAP directory configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | LDAP configuration UUID | [required] |
**toggle_ldap_config_request** | [**ToggleLdapConfigRequest**](ToggleLdapConfigRequest.md) |  | [required] |

### Return type

[**models::LdapConfigResponse**](LdapConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## toggle_oidc_config

> models::OidcConfigResponse toggle_oidc_config(id, toggle_oidc_config_request)
Toggle OIDC configuration

Enables or disables an OIDC identity provider configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | OIDC configuration UUID | [required] |
**toggle_oidc_config_request** | [**ToggleOidcConfigRequest**](ToggleOidcConfigRequest.md) |  | [required] |

### Return type

[**models::OidcConfigResponse**](OidcConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## toggle_saml_config

> models::SamlConfigResponse toggle_saml_config(id, toggle_saml_config_request)
Toggle SAML configuration

Enables or disables a SAML identity provider configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | SAML configuration UUID | [required] |
**toggle_saml_config_request** | [**ToggleSamlConfigRequest**](ToggleSamlConfigRequest.md) |  | [required] |

### Return type

[**models::SamlConfigResponse**](SamlConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_ldap_config

> models::LdapConfigResponse update_ldap_config(id, update_ldap_config_request)
Update LDAP configuration

Replaces an existing LDAP directory configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | LDAP configuration UUID | [required] |
**update_ldap_config_request** | [**UpdateLdapConfigRequest**](UpdateLdapConfigRequest.md) |  | [required] |

### Return type

[**models::LdapConfigResponse**](LdapConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_oidc_config

> models::OidcConfigResponse update_oidc_config(id, update_oidc_config_request)
Update OIDC configuration

Replaces an existing OIDC identity provider configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | OIDC configuration UUID | [required] |
**update_oidc_config_request** | [**UpdateOidcConfigRequest**](UpdateOidcConfigRequest.md) |  | [required] |

### Return type

[**models::OidcConfigResponse**](OidcConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_saml_config

> models::SamlConfigResponse update_saml_config(id, update_saml_config_request)
Update SAML configuration

Replaces an existing SAML identity provider configuration. Requires admin privileges.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | SAML configuration UUID | [required] |
**update_saml_config_request** | [**UpdateSamlConfigRequest**](UpdateSamlConfigRequest.md) |  | [required] |

### Return type

[**models::SamlConfigResponse**](SamlConfigResponse.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

