Package sh.ory.api

Class V0alpha0Api

java.lang.Object
sh.ory.api.V0alpha0Api

public class V0alpha0Api
extends Object
  • Constructor Details

    • V0alpha0Api

      public V0alpha0Api()
    • V0alpha0Api

      public V0alpha0Api​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex​(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl​(String customBaseUrl)
    • createProjectCall

      public okhttp3.Call createProjectCall​(ProjectRevision projectRevision, ApiCallback _callback) throws ApiException
      Build call for createProject
      Parameters:
      projectRevision - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      201 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • createProject

      public Project createProject​(ProjectRevision projectRevision) throws ApiException
      Create a Project Creates a new project.
      Parameters:
      projectRevision - (optional)
      Returns:
      Project
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      201 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • createProjectWithHttpInfo

      public ApiResponse<Project> createProjectWithHttpInfo​(ProjectRevision projectRevision) throws ApiException
      Create a Project Creates a new project.
      Parameters:
      projectRevision - (optional)
      Returns:
      ApiResponse<Project>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      201 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • createProjectAsync

      public okhttp3.Call createProjectAsync​(ProjectRevision projectRevision, ApiCallback<Project> _callback) throws ApiException
      Create a Project (asynchronously) Creates a new project.
      Parameters:
      projectRevision - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      201 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • getActiveProjectCall

      public okhttp3.Call getActiveProjectCall​(ApiCallback _callback) throws ApiException
      Build call for getActiveProject
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 activeProject -
      401 genericError -
      0 genericError -
    • getActiveProject

      public ActiveProject getActiveProject() throws ApiException
      Returns Your Active Ory Cloud Project Use this API to get your active project in the Ory Cloud Console UI.
      Returns:
      ActiveProject
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 activeProject -
      401 genericError -
      0 genericError -
    • getActiveProjectWithHttpInfo

      public ApiResponse<ActiveProject> getActiveProjectWithHttpInfo() throws ApiException
      Returns Your Active Ory Cloud Project Use this API to get your active project in the Ory Cloud Console UI.
      Returns:
      ApiResponse<ActiveProject>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 activeProject -
      401 genericError -
      0 genericError -
    • getActiveProjectAsync

      public okhttp3.Call getActiveProjectAsync​(ApiCallback<ActiveProject> _callback) throws ApiException
      Returns Your Active Ory Cloud Project (asynchronously) Use this API to get your active project in the Ory Cloud Console UI.
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 activeProject -
      401 genericError -
      0 genericError -
    • getProjectCall

      public okhttp3.Call getProjectCall​(String projectId, ApiCallback _callback) throws ApiException
      Build call for getProject
      Parameters:
      projectId - Project ID The project's ID. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • getProject

      public Project getProject​(String projectId) throws ApiException
      Get a Project Get a projects you have access to by its ID.
      Parameters:
      projectId - Project ID The project's ID. (required)
      Returns:
      Project
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • getProjectWithHttpInfo

      public ApiResponse<Project> getProjectWithHttpInfo​(String projectId) throws ApiException
      Get a Project Get a projects you have access to by its ID.
      Parameters:
      projectId - Project ID The project's ID. (required)
      Returns:
      ApiResponse<Project>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • getProjectAsync

      public okhttp3.Call getProjectAsync​(String projectId, ApiCallback<Project> _callback) throws ApiException
      Get a Project (asynchronously) Get a projects you have access to by its ID.
      Parameters:
      projectId - Project ID The project's ID. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • getProjectMembersCall

      public okhttp3.Call getProjectMembersCall​(String projectId, ApiCallback _callback) throws ApiException
      Build call for getProjectMembers
      Parameters:
      projectId - Project ID The project's ID. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 projectMembers -
      401 genericError -
      406 genericError -
      500 genericError -
    • getProjectMembers

      public List<CloudAccount> getProjectMembers​(String projectId) throws ApiException
      Get all members associated with this project. This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`.
      Parameters:
      projectId - Project ID The project's ID. (required)
      Returns:
      List<CloudAccount>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 projectMembers -
      401 genericError -
      406 genericError -
      500 genericError -
    • getProjectMembersWithHttpInfo

      public ApiResponse<List<CloudAccount>> getProjectMembersWithHttpInfo​(String projectId) throws ApiException
      Get all members associated with this project. This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`.
      Parameters:
      projectId - Project ID The project's ID. (required)
      Returns:
      ApiResponse<List<CloudAccount>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 projectMembers -
      401 genericError -
      406 genericError -
      500 genericError -
    • getProjectMembersAsync

      public okhttp3.Call getProjectMembersAsync​(String projectId, ApiCallback<List<CloudAccount>> _callback) throws ApiException
      Get all members associated with this project. (asynchronously) This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`.
      Parameters:
      projectId - Project ID The project's ID. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 projectMembers -
      401 genericError -
      406 genericError -
      500 genericError -
    • listProjectsCall

      public okhttp3.Call listProjectsCall​(ApiCallback _callback) throws ApiException
      Build call for listProjects
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 projects -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • listProjects

      public List<Project> listProjects() throws ApiException
      List All Projects Lists all projects you have access to.
      Returns:
      List<Project>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 projects -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • listProjectsWithHttpInfo

      public ApiResponse<List<Project>> listProjectsWithHttpInfo() throws ApiException
      List All Projects Lists all projects you have access to.
      Returns:
      ApiResponse<List<Project>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 projects -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • listProjectsAsync

      public okhttp3.Call listProjectsAsync​(ApiCallback<List<Project>> _callback) throws ApiException
      List All Projects (asynchronously) Lists all projects you have access to.
      Parameters:
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 projects -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • purgeProjectCall

      public okhttp3.Call purgeProjectCall​(String projectId, ApiCallback _callback) throws ApiException
      Build call for purgeProject
      Parameters:
      projectId - Project ID The project's ID. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • purgeProject

      public void purgeProject​(String projectId) throws ApiException
      Irrecoverably Purge a Project !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
      Parameters:
      projectId - Project ID The project's ID. (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • purgeProjectWithHttpInfo

      public ApiResponse<Void> purgeProjectWithHttpInfo​(String projectId) throws ApiException
      Irrecoverably Purge a Project !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
      Parameters:
      projectId - Project ID The project's ID. (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • purgeProjectAsync

      public okhttp3.Call purgeProjectAsync​(String projectId, ApiCallback<Void> _callback) throws ApiException
      Irrecoverably Purge a Project (asynchronously) !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
      Parameters:
      projectId - Project ID The project's ID. (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • removeProjectMemberCall

      public okhttp3.Call removeProjectMemberCall​(String projectId, String memberId, ApiCallback _callback) throws ApiException
      Build call for removeProjectMember
      Parameters:
      projectId - Project ID The project's ID. (required)
      memberId - Member ID (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      400 genericError -
      401 genericError -
      406 genericError -
      500 genericError -
    • removeProjectMember

      public void removeProjectMember​(String projectId, String memberId) throws ApiException
      Remove a member associated with this project. This also sets their invite status to `REMOVED`. This endpoint requires the user to be a member of the project with the role `OWNER`.
      Parameters:
      projectId - Project ID The project's ID. (required)
      memberId - Member ID (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      400 genericError -
      401 genericError -
      406 genericError -
      500 genericError -
    • removeProjectMemberWithHttpInfo

      public ApiResponse<Void> removeProjectMemberWithHttpInfo​(String projectId, String memberId) throws ApiException
      Remove a member associated with this project. This also sets their invite status to `REMOVED`. This endpoint requires the user to be a member of the project with the role `OWNER`.
      Parameters:
      projectId - Project ID The project's ID. (required)
      memberId - Member ID (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      400 genericError -
      401 genericError -
      406 genericError -
      500 genericError -
    • removeProjectMemberAsync

      public okhttp3.Call removeProjectMemberAsync​(String projectId, String memberId, ApiCallback<Void> _callback) throws ApiException
      Remove a member associated with this project. This also sets their invite status to `REMOVED`. (asynchronously) This endpoint requires the user to be a member of the project with the role `OWNER`.
      Parameters:
      projectId - Project ID The project's ID. (required)
      memberId - Member ID (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      400 genericError -
      401 genericError -
      406 genericError -
      500 genericError -
    • setActiveProjectCall

      public okhttp3.Call setActiveProjectCall​(InlineObject inlineObject, ApiCallback _callback) throws ApiException
      Build call for setActiveProject
      Parameters:
      inlineObject - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      401 genericError -
      0 genericError -
    • setActiveProject

      public void setActiveProject​(InlineObject inlineObject) throws ApiException
      Sets Your Active Project Use this API to set your active project in the Ory Cloud Console UI.
      Parameters:
      inlineObject - (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      401 genericError -
      0 genericError -
    • setActiveProjectWithHttpInfo

      public ApiResponse<Void> setActiveProjectWithHttpInfo​(InlineObject inlineObject) throws ApiException
      Sets Your Active Project Use this API to set your active project in the Ory Cloud Console UI.
      Parameters:
      inlineObject - (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      401 genericError -
      0 genericError -
    • setActiveProjectAsync

      public okhttp3.Call setActiveProjectAsync​(InlineObject inlineObject, ApiCallback<Void> _callback) throws ApiException
      Sets Your Active Project (asynchronously) Use this API to set your active project in the Ory Cloud Console UI.
      Parameters:
      inlineObject - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      204 Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201. -
      401 genericError -
      0 genericError -
    • updateProjectCall

      public okhttp3.Call updateProjectCall​(String projectId, ProjectRevision projectRevision, ApiCallback _callback) throws ApiException
      Build call for updateProject
      Parameters:
      projectId - Project ID The project's ID. (required)
      projectRevision - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • updateProject

      public Project updateProject​(String projectId, ProjectRevision projectRevision) throws ApiException
      Update a Project Creates a new configuration revision for a project.
      Parameters:
      projectId - Project ID The project's ID. (required)
      projectRevision - (optional)
      Returns:
      Project
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • updateProjectWithHttpInfo

      public ApiResponse<Project> updateProjectWithHttpInfo​(String projectId, ProjectRevision projectRevision) throws ApiException
      Update a Project Creates a new configuration revision for a project.
      Parameters:
      projectId - Project ID The project's ID. (required)
      projectRevision - (optional)
      Returns:
      ApiResponse<Project>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • updateProjectAsync

      public okhttp3.Call updateProjectAsync​(String projectId, ProjectRevision projectRevision, ApiCallback<Project> _callback) throws ApiException
      Update a Project (asynchronously) Creates a new configuration revision for a project.
      Parameters:
      projectId - Project ID The project's ID. (required)
      projectRevision - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 project -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • updateProjectConfigCall

      public okhttp3.Call updateProjectConfigCall​(String projectId, UpdateProjectConfigConfig updateProjectConfigConfig, ApiCallback _callback) throws ApiException
      Build call for updateProjectConfig
      Parameters:
      projectId - Project ID The project's ID. (required)
      updateProjectConfigConfig - (optional)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 successfulProjectConfigUpdate -
      400 genericError -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • updateProjectConfig

      public SuccessfulProjectConfigUpdate updateProjectConfig​(String projectId, UpdateProjectConfigConfig updateProjectConfigConfig) throws ApiException
      Update an Ory Cloud Project Configuration This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
      Parameters:
      projectId - Project ID The project's ID. (required)
      updateProjectConfigConfig - (optional)
      Returns:
      SuccessfulProjectConfigUpdate
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 successfulProjectConfigUpdate -
      400 genericError -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • updateProjectConfigWithHttpInfo

      public ApiResponse<SuccessfulProjectConfigUpdate> updateProjectConfigWithHttpInfo​(String projectId, UpdateProjectConfigConfig updateProjectConfigConfig) throws ApiException
      Update an Ory Cloud Project Configuration This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
      Parameters:
      projectId - Project ID The project's ID. (required)
      updateProjectConfigConfig - (optional)
      Returns:
      ApiResponse<SuccessfulProjectConfigUpdate>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details:
      Status Code Description Response Headers
      200 successfulProjectConfigUpdate -
      400 genericError -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -
    • updateProjectConfigAsync

      public okhttp3.Call updateProjectConfigAsync​(String projectId, UpdateProjectConfigConfig updateProjectConfigConfig, ApiCallback<SuccessfulProjectConfigUpdate> _callback) throws ApiException
      Update an Ory Cloud Project Configuration (asynchronously) This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
      Parameters:
      projectId - Project ID The project's ID. (required)
      updateProjectConfigConfig - (optional)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 successfulProjectConfigUpdate -
      400 genericError -
      401 genericError -
      403 genericError -
      404 genericError -
      0 genericError -