ory-client 0.0.1-alpha.88

SDK Client for Ory
Documentation
# Rust API client for ory-client

Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed
with a valid Personal Access Token. Public APIs are mostly used in browsers.


## Overview

This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project.  By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.

- API version: v0.0.1-alpha.88
- Package version: v0.0.1-alpha.88
- Build package: org.openapitools.codegen.languages.RustClientCodegen

## Installation

Put the package under your project folder and add the following to `Cargo.toml` under `[dependencies]`:

```
    openapi = { path = "./generated" }
```

## Documentation for API Endpoints

All URIs are relative to *https://playground.projects.oryapis.com*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*MetadataApi* | [**get_version**]docs/MetadataApi.md#get_version | **GET** /api/kratos/public/version | Return Running Software Version.
*MetadataApi* | [**is_alive**]docs/MetadataApi.md#is_alive | **GET** /api/kratos/public/health/alive | Check HTTP Server Status
*MetadataApi* | [**is_ready**]docs/MetadataApi.md#is_ready | **GET** /api/kratos/public/health/ready | Check HTTP Server and Database Status
*V0alpha0Api* | [**create_project**]docs/V0alpha0Api.md#create_project | **POST** /backoffice/public/projects | Create a Project
*V0alpha0Api* | [**get_active_project**]docs/V0alpha0Api.md#get_active_project | **GET** /backoffice/public/console/projects/active | Returns Your Active Ory Cloud Project
*V0alpha0Api* | [**get_project**]docs/V0alpha0Api.md#get_project | **GET** /backoffice/public/projects/{project_id} | Get a Project
*V0alpha0Api* | [**get_project_members**]docs/V0alpha0Api.md#get_project_members | **GET** /backoffice/public/projects/{project_id}/members | Get all members associated with this project.
*V0alpha0Api* | [**list_projects**]docs/V0alpha0Api.md#list_projects | **GET** /backoffice/public/projects | List All Projects
*V0alpha0Api* | [**purge_project**]docs/V0alpha0Api.md#purge_project | **DELETE** /backoffice/public/projects/{project_id} | Irrecoverably Purge a Project
*V0alpha0Api* | [**remove_project_member**]docs/V0alpha0Api.md#remove_project_member | **DELETE** /backoffice/public/projects/{project_id}/members/{member_id} | Remove a member associated with this project. This also sets their invite status to `REMOVED`.
*V0alpha0Api* | [**set_active_project**]docs/V0alpha0Api.md#set_active_project | **PUT** /backoffice/public/console/projects/active | Sets Your Active Project
*V0alpha0Api* | [**update_project**]docs/V0alpha0Api.md#update_project | **PUT** /backoffice/public/projects/{project_id} | Update a Project
*V0alpha0Api* | [**update_project_config**]docs/V0alpha0Api.md#update_project_config | **PUT** /backoffice/public/projects/{project_id}/configs | Update an Ory Cloud Project Configuration
*V0alpha2Api* | [**admin_create_identity**]docs/V0alpha2Api.md#admin_create_identity | **POST** /api/kratos/admin/identities | Create an Identity
*V0alpha2Api* | [**admin_create_self_service_recovery_link**]docs/V0alpha2Api.md#admin_create_self_service_recovery_link | **POST** /api/kratos/admin/recovery/link | Create a Recovery Link
*V0alpha2Api* | [**admin_delete_identity**]docs/V0alpha2Api.md#admin_delete_identity | **DELETE** /api/kratos/admin/identities/{id} | Delete an Identity
*V0alpha2Api* | [**admin_delete_identity_sessions**]docs/V0alpha2Api.md#admin_delete_identity_sessions | **DELETE** /api/kratos/admin/identities/{id}/sessions | Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
*V0alpha2Api* | [**admin_get_identity**]docs/V0alpha2Api.md#admin_get_identity | **GET** /api/kratos/admin/identities/{id} | Get an Identity
*V0alpha2Api* | [**admin_list_identities**]docs/V0alpha2Api.md#admin_list_identities | **GET** /api/kratos/admin/identities | List Identities
*V0alpha2Api* | [**admin_list_identity_sessions**]docs/V0alpha2Api.md#admin_list_identity_sessions | **GET** /api/kratos/admin/identities/{id}/sessions | This endpoint returns all sessions that belong to the given Identity.
*V0alpha2Api* | [**admin_update_identity**]docs/V0alpha2Api.md#admin_update_identity | **PUT** /api/kratos/admin/identities/{id} | Update an Identity
*V0alpha2Api* | [**create_self_service_logout_flow_url_for_browsers**]docs/V0alpha2Api.md#create_self_service_logout_flow_url_for_browsers | **GET** /api/kratos/public/self-service/logout/browser | Create a Logout URL for Browsers
*V0alpha2Api* | [**get_json_schema**]docs/V0alpha2Api.md#get_json_schema | **GET** /api/kratos/public/schemas/{id} | 
*V0alpha2Api* | [**get_self_service_error**]docs/V0alpha2Api.md#get_self_service_error | **GET** /api/kratos/public/self-service/errors | Get Self-Service Errors
*V0alpha2Api* | [**get_self_service_login_flow**]docs/V0alpha2Api.md#get_self_service_login_flow | **GET** /api/kratos/public/self-service/login/flows | Get Login Flow
*V0alpha2Api* | [**get_self_service_recovery_flow**]docs/V0alpha2Api.md#get_self_service_recovery_flow | **GET** /api/kratos/public/self-service/recovery/flows | Get Recovery Flow
*V0alpha2Api* | [**get_self_service_registration_flow**]docs/V0alpha2Api.md#get_self_service_registration_flow | **GET** /api/kratos/public/self-service/registration/flows | Get Registration Flow
*V0alpha2Api* | [**get_self_service_settings_flow**]docs/V0alpha2Api.md#get_self_service_settings_flow | **GET** /api/kratos/public/self-service/settings/flows | Get Settings Flow
*V0alpha2Api* | [**get_self_service_verification_flow**]docs/V0alpha2Api.md#get_self_service_verification_flow | **GET** /api/kratos/public/self-service/verification/flows | Get Verification Flow
*V0alpha2Api* | [**get_web_authn_java_script**]docs/V0alpha2Api.md#get_web_authn_java_script | **GET** /api/kratos/public/.well-known/ory/webauthn.js | Get WebAuthn JavaScript
*V0alpha2Api* | [**initialize_self_service_login_flow_for_browsers**]docs/V0alpha2Api.md#initialize_self_service_login_flow_for_browsers | **GET** /api/kratos/public/self-service/login/browser | Initialize Login Flow for Browsers
*V0alpha2Api* | [**initialize_self_service_login_flow_without_browser**]docs/V0alpha2Api.md#initialize_self_service_login_flow_without_browser | **GET** /api/kratos/public/self-service/login/api | Initialize Login Flow for APIs, Services, Apps, ...
*V0alpha2Api* | [**initialize_self_service_recovery_flow_for_browsers**]docs/V0alpha2Api.md#initialize_self_service_recovery_flow_for_browsers | **GET** /api/kratos/public/self-service/recovery/browser | Initialize Recovery Flow for Browsers
*V0alpha2Api* | [**initialize_self_service_recovery_flow_without_browser**]docs/V0alpha2Api.md#initialize_self_service_recovery_flow_without_browser | **GET** /api/kratos/public/self-service/recovery/api | Initialize Recovery Flow for APIs, Services, Apps, ...
*V0alpha2Api* | [**initialize_self_service_registration_flow_for_browsers**]docs/V0alpha2Api.md#initialize_self_service_registration_flow_for_browsers | **GET** /api/kratos/public/self-service/registration/browser | Initialize Registration Flow for Browsers
*V0alpha2Api* | [**initialize_self_service_registration_flow_without_browser**]docs/V0alpha2Api.md#initialize_self_service_registration_flow_without_browser | **GET** /api/kratos/public/self-service/registration/api | Initialize Registration Flow for APIs, Services, Apps, ...
*V0alpha2Api* | [**initialize_self_service_settings_flow_for_browsers**]docs/V0alpha2Api.md#initialize_self_service_settings_flow_for_browsers | **GET** /api/kratos/public/self-service/settings/browser | Initialize Settings Flow for Browsers
*V0alpha2Api* | [**initialize_self_service_settings_flow_without_browser**]docs/V0alpha2Api.md#initialize_self_service_settings_flow_without_browser | **GET** /api/kratos/public/self-service/settings/api | Initialize Settings Flow for APIs, Services, Apps, ...
*V0alpha2Api* | [**initialize_self_service_verification_flow_for_browsers**]docs/V0alpha2Api.md#initialize_self_service_verification_flow_for_browsers | **GET** /api/kratos/public/self-service/verification/browser | Initialize Verification Flow for Browser Clients
*V0alpha2Api* | [**initialize_self_service_verification_flow_without_browser**]docs/V0alpha2Api.md#initialize_self_service_verification_flow_without_browser | **GET** /api/kratos/public/self-service/verification/api | Initialize Verification Flow for APIs, Services, Apps, ...
*V0alpha2Api* | [**list_identity_schemas**]docs/V0alpha2Api.md#list_identity_schemas | **GET** /api/kratos/public/schemas | 
*V0alpha2Api* | [**list_sessions**]docs/V0alpha2Api.md#list_sessions | **GET** /api/kratos/public/sessions | This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
*V0alpha2Api* | [**revoke_session**]docs/V0alpha2Api.md#revoke_session | **DELETE** /api/kratos/public/sessions/{id} | Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
*V0alpha2Api* | [**revoke_sessions**]docs/V0alpha2Api.md#revoke_sessions | **DELETE** /api/kratos/public/sessions | Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
*V0alpha2Api* | [**submit_self_service_login_flow**]docs/V0alpha2Api.md#submit_self_service_login_flow | **POST** /api/kratos/public/self-service/login | Submit a Login Flow
*V0alpha2Api* | [**submit_self_service_logout_flow**]docs/V0alpha2Api.md#submit_self_service_logout_flow | **GET** /api/kratos/public/self-service/logout | Complete Self-Service Logout
*V0alpha2Api* | [**submit_self_service_logout_flow_without_browser**]docs/V0alpha2Api.md#submit_self_service_logout_flow_without_browser | **DELETE** /api/kratos/public/self-service/logout/api | Perform Logout for APIs, Services, Apps, ...
*V0alpha2Api* | [**submit_self_service_recovery_flow**]docs/V0alpha2Api.md#submit_self_service_recovery_flow | **POST** /api/kratos/public/self-service/recovery | Complete Recovery Flow
*V0alpha2Api* | [**submit_self_service_registration_flow**]docs/V0alpha2Api.md#submit_self_service_registration_flow | **POST** /api/kratos/public/self-service/registration | Submit a Registration Flow
*V0alpha2Api* | [**submit_self_service_settings_flow**]docs/V0alpha2Api.md#submit_self_service_settings_flow | **POST** /api/kratos/public/self-service/settings | Complete Settings Flow
*V0alpha2Api* | [**submit_self_service_verification_flow**]docs/V0alpha2Api.md#submit_self_service_verification_flow | **POST** /api/kratos/public/self-service/verification | Complete Verification Flow
*V0alpha2Api* | [**to_session**]docs/V0alpha2Api.md#to_session | **GET** /api/kratos/public/sessions/whoami | Check Who the Current HTTP Session Belongs To


## Documentation For Models

 - [ActiveProject]docs/ActiveProject.md
 - [AdminCreateIdentityBody]docs/AdminCreateIdentityBody.md
 - [AdminCreateSelfServiceRecoveryLinkBody]docs/AdminCreateSelfServiceRecoveryLinkBody.md
 - [AdminUpdateIdentityBody]docs/AdminUpdateIdentityBody.md
 - [ApiToken]docs/ApiToken.md
 - [AuthenticatorAssuranceLevel]docs/AuthenticatorAssuranceLevel.md
 - [CloudAccount]docs/CloudAccount.md
 - [CnameSettings]docs/CnameSettings.md
 - [CreateCustomHostnameBody]docs/CreateCustomHostnameBody.md
 - [CreateSubscriptionPayload]docs/CreateSubscriptionPayload.md
 - [ErrorAuthenticatorAssuranceLevelNotSatisfied]docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md
 - [GenericError]docs/GenericError.md
 - [HealthNotReadyStatus]docs/HealthNotReadyStatus.md
 - [HealthStatus]docs/HealthStatus.md
 - [Identity]docs/Identity.md
 - [IdentityCredentials]docs/IdentityCredentials.md
 - [IdentityCredentialsType]docs/IdentityCredentialsType.md
 - [IdentityPreset]docs/IdentityPreset.md
 - [IdentitySchema]docs/IdentitySchema.md
 - [IdentitySchemaLocation]docs/IdentitySchemaLocation.md
 - [IdentitySchemaValidationResult]docs/IdentitySchemaValidationResult.md
 - [IdentityState]docs/IdentityState.md
 - [InlineObject]docs/InlineObject.md
 - [InlineResponse200]docs/InlineResponse200.md
 - [InlineResponse2001]docs/InlineResponse2001.md
 - [InlineResponse503]docs/InlineResponse503.md
 - [InvitePayload]docs/InvitePayload.md
 - [IsOwnerForProjectBySlug]docs/IsOwnerForProjectBySlug.md
 - [IsOwnerForProjectBySlugPayload]docs/IsOwnerForProjectBySlugPayload.md
 - [JsonError]docs/JsonError.md
 - [NeedsPrivilegedSessionError]docs/NeedsPrivilegedSessionError.md
 - [NullPlan]docs/NullPlan.md
 - [Pagination]docs/Pagination.md
 - [Project]docs/Project.md
 - [ProjectHost]docs/ProjectHost.md
 - [ProjectInvite]docs/ProjectInvite.md
 - [ProjectRevision]docs/ProjectRevision.md
 - [ProjectRevisionHook]docs/ProjectRevisionHook.md
 - [ProjectRevisionIdentitySchema]docs/ProjectRevisionIdentitySchema.md
 - [ProjectRevisionThirdPartyLoginProvider]docs/ProjectRevisionThirdPartyLoginProvider.md
 - [ProjectSlug]docs/ProjectSlug.md
 - [QuotaProjectMemberSeats]docs/QuotaProjectMemberSeats.md
 - [RecoveryAddress]docs/RecoveryAddress.md
 - [RevokedSessions]docs/RevokedSessions.md
 - [SchemaPatch]docs/SchemaPatch.md
 - [SelfServiceBrowserLocationChangeRequiredError]docs/SelfServiceBrowserLocationChangeRequiredError.md
 - [SelfServiceError]docs/SelfServiceError.md
 - [SelfServiceFlowExpiredError]docs/SelfServiceFlowExpiredError.md
 - [SelfServiceLoginFlow]docs/SelfServiceLoginFlow.md
 - [SelfServiceLogoutUrl]docs/SelfServiceLogoutUrl.md
 - [SelfServiceRecoveryFlow]docs/SelfServiceRecoveryFlow.md
 - [SelfServiceRecoveryFlowState]docs/SelfServiceRecoveryFlowState.md
 - [SelfServiceRecoveryLink]docs/SelfServiceRecoveryLink.md
 - [SelfServiceRegistrationFlow]docs/SelfServiceRegistrationFlow.md
 - [SelfServiceSettingsFlow]docs/SelfServiceSettingsFlow.md
 - [SelfServiceSettingsFlowState]docs/SelfServiceSettingsFlowState.md
 - [SelfServiceVerificationFlow]docs/SelfServiceVerificationFlow.md
 - [SelfServiceVerificationFlowState]docs/SelfServiceVerificationFlowState.md
 - [Session]docs/Session.md
 - [SessionAuthenticationMethod]docs/SessionAuthenticationMethod.md
 - [SessionDevice]docs/SessionDevice.md
 - [SettingsProfileFormConfig]docs/SettingsProfileFormConfig.md
 - [StripeCustomerResponse]docs/StripeCustomerResponse.md
 - [SubmitSelfServiceLoginFlowBody]docs/SubmitSelfServiceLoginFlowBody.md
 - [SubmitSelfServiceLoginFlowWithLookupSecretMethodBody]docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md
 - [SubmitSelfServiceLoginFlowWithOidcMethodBody]docs/SubmitSelfServiceLoginFlowWithOidcMethodBody.md
 - [SubmitSelfServiceLoginFlowWithPasswordMethodBody]docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md
 - [SubmitSelfServiceLoginFlowWithTotpMethodBody]docs/SubmitSelfServiceLoginFlowWithTotpMethodBody.md
 - [SubmitSelfServiceLoginFlowWithWebAuthnMethodBody]docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md
 - [SubmitSelfServiceLogoutFlowWithoutBrowserBody]docs/SubmitSelfServiceLogoutFlowWithoutBrowserBody.md
 - [SubmitSelfServiceRecoveryFlowBody]docs/SubmitSelfServiceRecoveryFlowBody.md
 - [SubmitSelfServiceRecoveryFlowWithLinkMethodBody]docs/SubmitSelfServiceRecoveryFlowWithLinkMethodBody.md
 - [SubmitSelfServiceRegistrationFlowBody]docs/SubmitSelfServiceRegistrationFlowBody.md
 - [SubmitSelfServiceRegistrationFlowWithOidcMethodBody]docs/SubmitSelfServiceRegistrationFlowWithOidcMethodBody.md
 - [SubmitSelfServiceRegistrationFlowWithPasswordMethodBody]docs/SubmitSelfServiceRegistrationFlowWithPasswordMethodBody.md
 - [SubmitSelfServiceSettingsFlowBody]docs/SubmitSelfServiceSettingsFlowBody.md
 - [SubmitSelfServiceSettingsFlowWithLookupMethodBody]docs/SubmitSelfServiceSettingsFlowWithLookupMethodBody.md
 - [SubmitSelfServiceSettingsFlowWithOidcMethodBody]docs/SubmitSelfServiceSettingsFlowWithOidcMethodBody.md
 - [SubmitSelfServiceSettingsFlowWithPasswordMethodBody]docs/SubmitSelfServiceSettingsFlowWithPasswordMethodBody.md
 - [SubmitSelfServiceSettingsFlowWithProfileMethodBody]docs/SubmitSelfServiceSettingsFlowWithProfileMethodBody.md
 - [SubmitSelfServiceSettingsFlowWithTotpMethodBody]docs/SubmitSelfServiceSettingsFlowWithTotpMethodBody.md
 - [SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody]docs/SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody.md
 - [SubmitSelfServiceVerificationFlowBody]docs/SubmitSelfServiceVerificationFlowBody.md
 - [SubmitSelfServiceVerificationFlowWithLinkMethodBody]docs/SubmitSelfServiceVerificationFlowWithLinkMethodBody.md
 - [Subscription]docs/Subscription.md
 - [SuccessfulProjectConfigUpdate]docs/SuccessfulProjectConfigUpdate.md
 - [SuccessfulSelfServiceLoginWithoutBrowser]docs/SuccessfulSelfServiceLoginWithoutBrowser.md
 - [SuccessfulSelfServiceRegistrationWithoutBrowser]docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md
 - [UiContainer]docs/UiContainer.md
 - [UiNode]docs/UiNode.md
 - [UiNodeAnchorAttributes]docs/UiNodeAnchorAttributes.md
 - [UiNodeAttributes]docs/UiNodeAttributes.md
 - [UiNodeImageAttributes]docs/UiNodeImageAttributes.md
 - [UiNodeInputAttributes]docs/UiNodeInputAttributes.md
 - [UiNodeMeta]docs/UiNodeMeta.md
 - [UiNodeScriptAttributes]docs/UiNodeScriptAttributes.md
 - [UiNodeTextAttributes]docs/UiNodeTextAttributes.md
 - [UiText]docs/UiText.md
 - [UpdateCustomHostnameBody]docs/UpdateCustomHostnameBody.md
 - [UpdateProjectConfigConfig]docs/UpdateProjectConfigConfig.md
 - [UpdateSubscriptionPayload]docs/UpdateSubscriptionPayload.md
 - [VerifiableIdentityAddress]docs/VerifiableIdentityAddress.md
 - [Version]docs/Version.md
 - [Warning]docs/Warning.md


To get access to the crate's generated documentation, use:

```
cargo doc --open
```

## Author

support@ory.sh