Package sh.ory.api
Class V0alpha0Api
java.lang.Object
sh.ory.api.V0alpha0Api
public class V0alpha0Api extends Object
-
Constructor Summary
Constructors Constructor Description V0alpha0Api()V0alpha0Api(ApiClient apiClient) -
Method Summary
Modifier and Type Method Description ProjectcreateProject(ProjectRevision projectRevision)Create a Project Creates a new project.okhttp3.CallcreateProjectAsync(ProjectRevision projectRevision, ApiCallback<Project> _callback)Create a Project (asynchronously) Creates a new project.okhttp3.CallcreateProjectCall(ProjectRevision projectRevision, ApiCallback _callback)Build call for createProjectApiResponse<Project>createProjectWithHttpInfo(ProjectRevision projectRevision)Create a Project Creates a new project.ActiveProjectgetActiveProject()Returns Your Active Ory Cloud Project Use this API to get your active project in the Ory Cloud Console UI.okhttp3.CallgetActiveProjectAsync(ApiCallback<ActiveProject> _callback)Returns Your Active Ory Cloud Project (asynchronously) Use this API to get your active project in the Ory Cloud Console UI.okhttp3.CallgetActiveProjectCall(ApiCallback _callback)Build call for getActiveProjectApiResponse<ActiveProject>getActiveProjectWithHttpInfo()Returns Your Active Ory Cloud Project Use this API to get your active project in the Ory Cloud Console UI.ApiClientgetApiClient()StringgetCustomBaseUrl()intgetHostIndex()ProjectgetProject(String projectId)Get a Project Get a projects you have access to by its ID.okhttp3.CallgetProjectAsync(String projectId, ApiCallback<Project> _callback)Get a Project (asynchronously) Get a projects you have access to by its ID.okhttp3.CallgetProjectCall(String projectId, ApiCallback _callback)Build call for getProjectList<CloudAccount>getProjectMembers(String projectId)Get all members associated with this project.okhttp3.CallgetProjectMembersAsync(String projectId, ApiCallback<List<CloudAccount>> _callback)Get all members associated with this project.okhttp3.CallgetProjectMembersCall(String projectId, ApiCallback _callback)Build call for getProjectMembersApiResponse<List<CloudAccount>>getProjectMembersWithHttpInfo(String projectId)Get all members associated with this project.ApiResponse<Project>getProjectWithHttpInfo(String projectId)Get a Project Get a projects you have access to by its ID.List<Project>listProjects()List All Projects Lists all projects you have access to.okhttp3.CalllistProjectsAsync(ApiCallback<List<Project>> _callback)List All Projects (asynchronously) Lists all projects you have access to.okhttp3.CalllistProjectsCall(ApiCallback _callback)Build call for listProjectsApiResponse<List<Project>>listProjectsWithHttpInfo()List All Projects Lists all projects you have access to.voidpurgeProject(String projectId)Irrecoverably Purge a Project !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data.okhttp3.CallpurgeProjectAsync(String projectId, ApiCallback<Void> _callback)Irrecoverably Purge a Project (asynchronously) !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data.okhttp3.CallpurgeProjectCall(String projectId, ApiCallback _callback)Build call for purgeProjectApiResponse<Void>purgeProjectWithHttpInfo(String projectId)Irrecoverably Purge a Project !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data.voidremoveProjectMember(String projectId, String memberId)Remove a member associated with this project.okhttp3.CallremoveProjectMemberAsync(String projectId, String memberId, ApiCallback<Void> _callback)Remove a member associated with this project.okhttp3.CallremoveProjectMemberCall(String projectId, String memberId, ApiCallback _callback)Build call for removeProjectMemberApiResponse<Void>removeProjectMemberWithHttpInfo(String projectId, String memberId)Remove a member associated with this project.voidsetActiveProject(InlineObject inlineObject)Sets Your Active Project Use this API to set your active project in the Ory Cloud Console UI.okhttp3.CallsetActiveProjectAsync(InlineObject inlineObject, ApiCallback<Void> _callback)Sets Your Active Project (asynchronously) Use this API to set your active project in the Ory Cloud Console UI.okhttp3.CallsetActiveProjectCall(InlineObject inlineObject, ApiCallback _callback)Build call for setActiveProjectApiResponse<Void>setActiveProjectWithHttpInfo(InlineObject inlineObject)Sets Your Active Project Use this API to set your active project in the Ory Cloud Console UI.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)ProjectupdateProject(String projectId, ProjectRevision projectRevision)Update a Project Creates a new configuration revision for a project.okhttp3.CallupdateProjectAsync(String projectId, ProjectRevision projectRevision, ApiCallback<Project> _callback)Update a Project (asynchronously) Creates a new configuration revision for a project.okhttp3.CallupdateProjectCall(String projectId, ProjectRevision projectRevision, ApiCallback _callback)Build call for updateProjectSuccessfulProjectConfigUpdateupdateProjectConfig(String projectId, UpdateProjectConfigConfig updateProjectConfigConfig)Update an Ory Cloud Project Configuration This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...).okhttp3.CallupdateProjectConfigAsync(String projectId, UpdateProjectConfigConfig updateProjectConfigConfig, ApiCallback<SuccessfulProjectConfigUpdate> _callback)Update an Ory Cloud Project Configuration (asynchronously) This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...).okhttp3.CallupdateProjectConfigCall(String projectId, UpdateProjectConfigConfig updateProjectConfigConfig, ApiCallback _callback)Build call for updateProjectConfigApiResponse<SuccessfulProjectConfigUpdate>updateProjectConfigWithHttpInfo(String projectId, UpdateProjectConfigConfig updateProjectConfigConfig)Update an Ory Cloud Project Configuration This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...).ApiResponse<Project>updateProjectWithHttpInfo(String projectId, ProjectRevision projectRevision)Update a Project Creates a new configuration revision for a project.
-
Constructor Details
-
V0alpha0Api
public V0alpha0Api() -
V0alpha0Api
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createProjectCall
public okhttp3.Call createProjectCall(ProjectRevision projectRevision, ApiCallback _callback) throws ApiExceptionBuild 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
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 ApiExceptionCreate 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 ApiExceptionCreate 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
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
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
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 ApiExceptionReturns 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
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
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
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 ApiExceptionGet 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 ApiExceptionBuild 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
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 ApiExceptionGet 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 ApiExceptionGet 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
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
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
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
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
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
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
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 ApiExceptionIrrecoverably 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 ApiExceptionBuild 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
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 ApiExceptionRemove 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 ApiExceptionRemove 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 ApiExceptionBuild 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
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 ApiExceptionSets 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 ApiExceptionSets 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 ApiExceptionBuild 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 ApiExceptionUpdate 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 ApiExceptionUpdate 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 ApiExceptionUpdate 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 ApiExceptionBuild 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 ApiExceptionUpdate 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 ApiExceptionUpdate 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 ApiExceptionUpdate 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 -
-