Package com.okta.sdk.resource.api
Class RoleTargetApi
java.lang.Object
com.okta.sdk.resource.api.RoleTargetApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-09T14:19:33.269913-05:00[America/Chicago]",
comments="Generator version: 7.7.0")
public class RoleTargetApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignAllAppsAsTargetToRoleForUser
(String userId, String roleId) Assign all Apps as Target to Role Assigns all Apps as Target to Rolevoid
assignAllAppsAsTargetToRoleForUser
(String userId, String roleId, Map<String, String> additionalHeaders) Assign all Apps as Target to Role Assigns all Apps as Target to Rolevoid
assignAppInstanceTargetToAppAdminRoleForGroup
(String groupId, String roleId, String appName, String appId) Assign an Application Instance Target to Application Administrator Role Assigns App Instance Target to App Administrator Role given to a Groupvoid
assignAppInstanceTargetToAppAdminRoleForGroup
(String groupId, String roleId, String appName, String appId, Map<String, String> additionalHeaders) Assign an Application Instance Target to Application Administrator Role Assigns App Instance Target to App Administrator Role given to a Groupvoid
assignAppInstanceTargetToAppAdminRoleForUser
(String userId, String roleId, String appName, String appId) Assign an Application Instance Target to an Application Administrator Role Assigns anapplication instance target to appplication administrator rolevoid
assignAppInstanceTargetToAppAdminRoleForUser
(String userId, String roleId, String appName, String appId, Map<String, String> additionalHeaders) Assign an Application Instance Target to an Application Administrator Role Assigns anapplication instance target to appplication administrator rolevoid
assignAppTargetInstanceRoleForClient
(String clientId, String roleId, String appName, String appInstanceId) Replace an App Instance Target for a Client Replaces an App Instance Target by `clientId`void
assignAppTargetInstanceRoleForClient
(String clientId, String roleId, String appName, String appInstanceId, Map<String, String> additionalHeaders) Replace an App Instance Target for a Client Replaces an App Instance Target by `clientId`void
assignAppTargetRoleToClient
(String clientId, String roleId, String appName) Assign an App Target to a Client Assigns an Application Target to a Clientvoid
assignAppTargetRoleToClient
(String clientId, String roleId, String appName, Map<String, String> additionalHeaders) Assign an App Target to a Client Assigns an Application Target to a Clientvoid
assignAppTargetToAdminRoleForGroup
(String groupId, String roleId, String appName) Assign an Application Target to Administrator Role Assigns an application target to administrator rolevoid
assignAppTargetToAdminRoleForGroup
(String groupId, String roleId, String appName, Map<String, String> additionalHeaders) Assign an Application Target to Administrator Role Assigns an application target to administrator rolevoid
assignAppTargetToAdminRoleForUser
(String userId, String roleId, String appName) Assign an Application Target to Administrator Role Assigns an application target to administrator rolevoid
assignAppTargetToAdminRoleForUser
(String userId, String roleId, String appName, Map<String, String> additionalHeaders) Assign an Application Target to Administrator Role Assigns an application target to administrator rolevoid
assignGroupTargetRoleForClient
(String clientId, String roleId, String groupId) Assign a Group Target to a Client Assigns a Group Target to a Clientvoid
assignGroupTargetRoleForClient
(String clientId, String roleId, String groupId, Map<String, String> additionalHeaders) Assign a Group Target to a Client Assigns a Group Target to a Clientvoid
assignGroupTargetToGroupAdminRole
(String groupId, String roleId, String targetGroupId) Assign a Group Target to a Group Role Assigns a group target to a group rolevoid
assignGroupTargetToGroupAdminRole
(String groupId, String roleId, String targetGroupId, Map<String, String> additionalHeaders) Assign a Group Target to a Group Role Assigns a group target to a group rolevoid
assignGroupTargetToUserRole
(String userId, String roleId, String groupId) Assign a Group Target to Role Assigns a Group Target to Rolevoid
assignGroupTargetToUserRole
(String userId, String roleId, String groupId, Map<String, String> additionalHeaders) Assign a Group Target to Role Assigns a Group Target to Roleprotected static com.fasterxml.jackson.databind.ObjectMapper
listApplicationTargetsForApplicationAdministratorRoleForGroup
(String groupId, String roleId, String after, Integer limit) List all Application Targets for an Application Administrator Role Lists all App targets for an `APP_ADMIN` Role assigned to a Group.listApplicationTargetsForApplicationAdministratorRoleForGroup
(String groupId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) List all Application Targets for an Application Administrator Role Lists all App targets for an `APP_ADMIN` Role assigned to a Group.listApplicationTargetsForApplicationAdministratorRoleForUser
(String userId, String roleId, String after, Integer limit) List all Application Targets for Application Administrator Role Lists all App targets for an `APP_ADMIN` Role assigned to a User.listApplicationTargetsForApplicationAdministratorRoleForUser
(String userId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) List all Application Targets for Application Administrator Role Lists all App targets for an `APP_ADMIN` Role assigned to a User.listAppTargetRoleToClient
(String clientId, String roleId, String after, Integer limit) List all App Targets assigned to a Client Lists App Targets for Client and RolelistAppTargetRoleToClient
(String clientId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) List all App Targets assigned to a Client Lists App Targets for Client and RolelistGroupTargetRoleForClient
(String clientId, String roleId, String after, Integer limit) List all Group Targets for a Client Lists all Group Targets by `clientId` and `roleId`listGroupTargetRoleForClient
(String clientId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) List all Group Targets for a Client Lists all Group Targets by `clientId` and `roleId`listGroupTargetsForGroupRole
(String groupId, String roleId, String after, Integer limit) List all Group Targets for a Group Role Lists all group targets for a group rolelistGroupTargetsForGroupRole
(String groupId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) List all Group Targets for a Group Role Lists all group targets for a group rolelistGroupTargetsForRole
(String userId, String roleId, String after, Integer limit) List all Group Targets for Role Lists all group targets for rolelistGroupTargetsForRole
(String userId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) List all Group Targets for Role Lists all group targets for rolevoid
removeAppTargetInstanceRoleForClient
(String clientId, String roleId, String appName, String appInstanceId) Delete an App Instance Target for a Client Deletes an App Instance Target from a Clientvoid
removeAppTargetInstanceRoleForClient
(String clientId, String roleId, String appName, String appInstanceId, Map<String, String> additionalHeaders) Delete an App Instance Target for a Client Deletes an App Instance Target from a Clientvoid
removeAppTargetRoleFromClient
(String clientId, String roleId, String appName) Remove an App Target from a Client Removes an Application Target by `clientId`void
removeAppTargetRoleFromClient
(String clientId, String roleId, String appName, Map<String, String> additionalHeaders) Remove an App Target from a Client Removes an Application Target by `clientId`void
removeGroupTargetRoleFromClient
(String clientId, String roleId, String groupId) Delete a Group Target from a Client Deletes a Group Target from a Clientvoid
removeGroupTargetRoleFromClient
(String clientId, String roleId, String groupId, Map<String, String> additionalHeaders) Delete a Group Target from a Client Deletes a Group Target from a Clientvoid
setApiClient
(ApiClient apiClient) void
unassignAppInstanceTargetFromAdminRoleForUser
(String userId, String roleId, String appName, String appId) Unassign an Application Instance Target from an Application Administrator Role Unassigns an application instance target from an application administrator rolevoid
unassignAppInstanceTargetFromAdminRoleForUser
(String userId, String roleId, String appName, String appId, Map<String, String> additionalHeaders) Unassign an Application Instance Target from an Application Administrator Role Unassigns an application instance target from an application administrator rolevoid
unassignAppInstanceTargetToAppAdminRoleForGroup
(String groupId, String roleId, String appName, String appId) Unassign an Application Instance Target from an Application Administrator Role Unassigns an application instance target from application administrator rolevoid
unassignAppInstanceTargetToAppAdminRoleForGroup
(String groupId, String roleId, String appName, String appId, Map<String, String> additionalHeaders) Unassign an Application Instance Target from an Application Administrator Role Unassigns an application instance target from application administrator rolevoid
unassignAppTargetFromAppAdminRoleForUser
(String userId, String roleId, String appName) Unassign an Application Target from an Application Administrator Role Unassigns an application target from application administrator rolevoid
unassignAppTargetFromAppAdminRoleForUser
(String userId, String roleId, String appName, Map<String, String> additionalHeaders) Unassign an Application Target from an Application Administrator Role Unassigns an application target from application administrator rolevoid
unassignAppTargetToAdminRoleForGroup
(String groupId, String roleId, String appName) Unassign an Application Target from Application Administrator Role Unassigns an application target from application administrator rolevoid
unassignAppTargetToAdminRoleForGroup
(String groupId, String roleId, String appName, Map<String, String> additionalHeaders) Unassign an Application Target from Application Administrator Role Unassigns an application target from application administrator rolevoid
unassignGroupTargetFromGroupAdminRole
(String groupId, String roleId, String targetGroupId) Unassign a Group Target from a Group Role Unassigns a group target from a group rolevoid
unassignGroupTargetFromGroupAdminRole
(String groupId, String roleId, String targetGroupId, Map<String, String> additionalHeaders) Unassign a Group Target from a Group Role Unassigns a group target from a group rolevoid
unassignGroupTargetFromUserAdminRole
(String userId, String roleId, String groupId) Unassign a Group Target from Role Unassigns a Group Target from Rolevoid
unassignGroupTargetFromUserAdminRole
(String userId, String roleId, String groupId, Map<String, String> additionalHeaders) Unassign a Group Target from Role Unassigns a Group Target from Role
-
Constructor Details
-
RoleTargetApi
public RoleTargetApi() -
RoleTargetApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
assignAllAppsAsTargetToRoleForUser
Assign all Apps as Target to Role Assigns all Apps as Target to Role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)- Throws:
ApiException
- if fails to make API call
-
assignAllAppsAsTargetToRoleForUser
public void assignAllAppsAsTargetToRoleForUser(String userId, String roleId, Map<String, String> additionalHeaders) throws ApiExceptionAssign all Apps as Target to Role Assigns all Apps as Target to Role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignAppInstanceTargetToAppAdminRoleForGroup
public void assignAppInstanceTargetToAppAdminRoleForGroup(String groupId, String roleId, String appName, String appId) throws ApiException Assign an Application Instance Target to Application Administrator Role Assigns App Instance Target to App Administrator Role given to a Group- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appId
- Application ID (required)- Throws:
ApiException
- if fails to make API call
-
assignAppInstanceTargetToAppAdminRoleForGroup
public void assignAppInstanceTargetToAppAdminRoleForGroup(String groupId, String roleId, String appName, String appId, Map<String, String> additionalHeaders) throws ApiExceptionAssign an Application Instance Target to Application Administrator Role Assigns App Instance Target to App Administrator Role given to a Group- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appId
- Application ID (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignAppInstanceTargetToAppAdminRoleForUser
public void assignAppInstanceTargetToAppAdminRoleForUser(String userId, String roleId, String appName, String appId) throws ApiException Assign an Application Instance Target to an Application Administrator Role Assigns anapplication instance target to appplication administrator role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appId
- Application ID (required)- Throws:
ApiException
- if fails to make API call
-
assignAppInstanceTargetToAppAdminRoleForUser
public void assignAppInstanceTargetToAppAdminRoleForUser(String userId, String roleId, String appName, String appId, Map<String, String> additionalHeaders) throws ApiExceptionAssign an Application Instance Target to an Application Administrator Role Assigns anapplication instance target to appplication administrator role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appId
- Application ID (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignAppTargetInstanceRoleForClient
public void assignAppTargetInstanceRoleForClient(String clientId, String roleId, String appName, String appInstanceId) throws ApiException Replace an App Instance Target for a Client Replaces an App Instance Target by `clientId`- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appInstanceId
- `id` of the application instance (required)- Throws:
ApiException
- if fails to make API call
-
assignAppTargetInstanceRoleForClient
public void assignAppTargetInstanceRoleForClient(String clientId, String roleId, String appName, String appInstanceId, Map<String, String> additionalHeaders) throws ApiExceptionReplace an App Instance Target for a Client Replaces an App Instance Target by `clientId`- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appInstanceId
- `id` of the application instance (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignAppTargetRoleToClient
public void assignAppTargetRoleToClient(String clientId, String roleId, String appName) throws ApiException Assign an App Target to a Client Assigns an Application Target to a Client- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)- Throws:
ApiException
- if fails to make API call
-
assignAppTargetRoleToClient
public void assignAppTargetRoleToClient(String clientId, String roleId, String appName, Map<String, String> additionalHeaders) throws ApiExceptionAssign an App Target to a Client Assigns an Application Target to a Client- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignAppTargetToAdminRoleForGroup
public void assignAppTargetToAdminRoleForGroup(String groupId, String roleId, String appName) throws ApiException Assign an Application Target to Administrator Role Assigns an application target to administrator role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)- Throws:
ApiException
- if fails to make API call
-
assignAppTargetToAdminRoleForGroup
public void assignAppTargetToAdminRoleForGroup(String groupId, String roleId, String appName, Map<String, String> additionalHeaders) throws ApiExceptionAssign an Application Target to Administrator Role Assigns an application target to administrator role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignAppTargetToAdminRoleForUser
public void assignAppTargetToAdminRoleForUser(String userId, String roleId, String appName) throws ApiException Assign an Application Target to Administrator Role Assigns an application target to administrator role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)- Throws:
ApiException
- if fails to make API call
-
assignAppTargetToAdminRoleForUser
public void assignAppTargetToAdminRoleForUser(String userId, String roleId, String appName, Map<String, String> additionalHeaders) throws ApiExceptionAssign an Application Target to Administrator Role Assigns an application target to administrator role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignGroupTargetRoleForClient
public void assignGroupTargetRoleForClient(String clientId, String roleId, String groupId) throws ApiException Assign a Group Target to a Client Assigns a Group Target to a Client- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)- Throws:
ApiException
- if fails to make API call
-
assignGroupTargetRoleForClient
public void assignGroupTargetRoleForClient(String clientId, String roleId, String groupId, Map<String, String> additionalHeaders) throws ApiExceptionAssign a Group Target to a Client Assigns a Group Target to a Client- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignGroupTargetToGroupAdminRole
public void assignGroupTargetToGroupAdminRole(String groupId, String roleId, String targetGroupId) throws ApiException Assign a Group Target to a Group Role Assigns a group target to a group role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)targetGroupId
- (required)- Throws:
ApiException
- if fails to make API call
-
assignGroupTargetToGroupAdminRole
public void assignGroupTargetToGroupAdminRole(String groupId, String roleId, String targetGroupId, Map<String, String> additionalHeaders) throws ApiExceptionAssign a Group Target to a Group Role Assigns a group target to a group role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)targetGroupId
- (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
assignGroupTargetToUserRole
public void assignGroupTargetToUserRole(String userId, String roleId, String groupId) throws ApiException Assign a Group Target to Role Assigns a Group Target to Role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)- Throws:
ApiException
- if fails to make API call
-
assignGroupTargetToUserRole
public void assignGroupTargetToUserRole(String userId, String roleId, String groupId, Map<String, String> additionalHeaders) throws ApiExceptionAssign a Group Target to Role Assigns a Group Target to Role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
listAppTargetRoleToClient
public Client listAppTargetRoleToClient(String clientId, String roleId, String after, Integer limit) throws ApiException List all App Targets assigned to a Client Lists App Targets for Client and Role- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination). (optional)limit
- A limit on the number of objects to return (optional, default to 20)- Returns:
- Client
- Throws:
ApiException
- if fails to make API call
-
listAppTargetRoleToClient
public Client listAppTargetRoleToClient(String clientId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all App Targets assigned to a Client Lists App Targets for Client and Role- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination). (optional)limit
- A limit on the number of objects to return (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- Client
- Throws:
ApiException
- if fails to make API call
-
listApplicationTargetsForApplicationAdministratorRoleForGroup
public List<CatalogApplication> listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId, String roleId, String after, Integer limit) throws ApiException List all Application Targets for an Application Administrator Role Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)- Returns:
- List<CatalogApplication>
- Throws:
ApiException
- if fails to make API call
-
listApplicationTargetsForApplicationAdministratorRoleForGroup
public List<CatalogApplication> listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Application Targets for an Application Administrator Role Lists all App targets for an `APP_ADMIN` Role assigned to a Group. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- List<CatalogApplication>
- Throws:
ApiException
- if fails to make API call
-
listApplicationTargetsForApplicationAdministratorRoleForUser
public List<CatalogApplication> listApplicationTargetsForApplicationAdministratorRoleForUser(String userId, String roleId, String after, Integer limit) throws ApiException List all Application Targets for Application Administrator Role Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)- Returns:
- List<CatalogApplication>
- Throws:
ApiException
- if fails to make API call
-
listApplicationTargetsForApplicationAdministratorRoleForUser
public List<CatalogApplication> listApplicationTargetsForApplicationAdministratorRoleForUser(String userId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Application Targets for Application Administrator Role Lists all App targets for an `APP_ADMIN` Role assigned to a User. This methods return list may include full Applications or Instances. The response for an instance will have an `ID` value, while Application will not have an ID.- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- List<CatalogApplication>
- Throws:
ApiException
- if fails to make API call
-
listGroupTargetRoleForClient
public Client listGroupTargetRoleForClient(String clientId, String roleId, String after, Integer limit) throws ApiException List all Group Targets for a Client Lists all Group Targets by `clientId` and `roleId`- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination). (optional)limit
- A limit on the number of objects to return (optional, default to 20)- Returns:
- Client
- Throws:
ApiException
- if fails to make API call
-
listGroupTargetRoleForClient
public Client listGroupTargetRoleForClient(String clientId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Group Targets for a Client Lists all Group Targets by `clientId` and `roleId`- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination). (optional)limit
- A limit on the number of objects to return (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- Client
- Throws:
ApiException
- if fails to make API call
-
listGroupTargetsForGroupRole
public List<Group> listGroupTargetsForGroupRole(String groupId, String roleId, String after, Integer limit) throws ApiException List all Group Targets for a Group Role Lists all group targets for a group role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)- Returns:
- List<Group>
- Throws:
ApiException
- if fails to make API call
-
listGroupTargetsForGroupRole
public List<Group> listGroupTargetsForGroupRole(String groupId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Group Targets for a Group Role Lists all group targets for a group role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- List<Group>
- Throws:
ApiException
- if fails to make API call
-
listGroupTargetsForRole
public List<Group> listGroupTargetsForRole(String userId, String roleId, String after, Integer limit) throws ApiException List all Group Targets for Role Lists all group targets for role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)- Returns:
- List<Group>
- Throws:
ApiException
- if fails to make API call
-
listGroupTargetsForRole
public List<Group> listGroupTargetsForRole(String userId, String roleId, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Group Targets for Role Lists all group targets for role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- List<Group>
- Throws:
ApiException
- if fails to make API call
-
removeAppTargetInstanceRoleForClient
public void removeAppTargetInstanceRoleForClient(String clientId, String roleId, String appName, String appInstanceId) throws ApiException Delete an App Instance Target for a Client Deletes an App Instance Target from a Client- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appInstanceId
- `id` of the application instance (required)- Throws:
ApiException
- if fails to make API call
-
removeAppTargetInstanceRoleForClient
public void removeAppTargetInstanceRoleForClient(String clientId, String roleId, String appName, String appInstanceId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an App Instance Target for a Client Deletes an App Instance Target from a Client- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appInstanceId
- `id` of the application instance (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
removeAppTargetRoleFromClient
public void removeAppTargetRoleFromClient(String clientId, String roleId, String appName) throws ApiException Remove an App Target from a Client Removes an Application Target by `clientId`- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)- Throws:
ApiException
- if fails to make API call
-
removeAppTargetRoleFromClient
public void removeAppTargetRoleFromClient(String clientId, String roleId, String appName, Map<String, String> additionalHeaders) throws ApiExceptionRemove an App Target from a Client Removes an Application Target by `clientId`- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
removeGroupTargetRoleFromClient
public void removeGroupTargetRoleFromClient(String clientId, String roleId, String groupId) throws ApiException Delete a Group Target from a Client Deletes a Group Target from a Client- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)- Throws:
ApiException
- if fails to make API call
-
removeGroupTargetRoleFromClient
public void removeGroupTargetRoleFromClient(String clientId, String roleId, String groupId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Group Target from a Client Deletes a Group Target from a Client- Parameters:
clientId
- `client_id` of the app (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
unassignAppInstanceTargetFromAdminRoleForUser
public void unassignAppInstanceTargetFromAdminRoleForUser(String userId, String roleId, String appName, String appId) throws ApiException Unassign an Application Instance Target from an Application Administrator Role Unassigns an application instance target from an application administrator role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appId
- Application ID (required)- Throws:
ApiException
- if fails to make API call
-
unassignAppInstanceTargetFromAdminRoleForUser
public void unassignAppInstanceTargetFromAdminRoleForUser(String userId, String roleId, String appName, String appId, Map<String, String> additionalHeaders) throws ApiExceptionUnassign an Application Instance Target from an Application Administrator Role Unassigns an application instance target from an application administrator role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appId
- Application ID (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
unassignAppInstanceTargetToAppAdminRoleForGroup
public void unassignAppInstanceTargetToAppAdminRoleForGroup(String groupId, String roleId, String appName, String appId) throws ApiException Unassign an Application Instance Target from an Application Administrator Role Unassigns an application instance target from application administrator role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appId
- Application ID (required)- Throws:
ApiException
- if fails to make API call
-
unassignAppInstanceTargetToAppAdminRoleForGroup
public void unassignAppInstanceTargetToAppAdminRoleForGroup(String groupId, String roleId, String appName, String appId, Map<String, String> additionalHeaders) throws ApiExceptionUnassign an Application Instance Target from an Application Administrator Role Unassigns an application instance target from application administrator role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)appId
- Application ID (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
unassignAppTargetFromAppAdminRoleForUser
public void unassignAppTargetFromAppAdminRoleForUser(String userId, String roleId, String appName) throws ApiException Unassign an Application Target from an Application Administrator Role Unassigns an application target from application administrator role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)- Throws:
ApiException
- if fails to make API call
-
unassignAppTargetFromAppAdminRoleForUser
public void unassignAppTargetFromAppAdminRoleForUser(String userId, String roleId, String appName, Map<String, String> additionalHeaders) throws ApiExceptionUnassign an Application Target from an Application Administrator Role Unassigns an application target from application administrator role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
unassignAppTargetToAdminRoleForGroup
public void unassignAppTargetToAdminRoleForGroup(String groupId, String roleId, String appName) throws ApiException Unassign an Application Target from Application Administrator Role Unassigns an application target from application administrator role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)- Throws:
ApiException
- if fails to make API call
-
unassignAppTargetToAdminRoleForGroup
public void unassignAppTargetToAdminRoleForGroup(String groupId, String roleId, String appName, Map<String, String> additionalHeaders) throws ApiExceptionUnassign an Application Target from Application Administrator Role Unassigns an application target from application administrator role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- Application name for the app type (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
unassignGroupTargetFromGroupAdminRole
public void unassignGroupTargetFromGroupAdminRole(String groupId, String roleId, String targetGroupId) throws ApiException Unassign a Group Target from a Group Role Unassigns a group target from a group role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)targetGroupId
- (required)- Throws:
ApiException
- if fails to make API call
-
unassignGroupTargetFromGroupAdminRole
public void unassignGroupTargetFromGroupAdminRole(String groupId, String roleId, String targetGroupId, Map<String, String> additionalHeaders) throws ApiExceptionUnassign a Group Target from a Group Role Unassigns a group target from a group role- Parameters:
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)targetGroupId
- (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
unassignGroupTargetFromUserAdminRole
public void unassignGroupTargetFromUserAdminRole(String userId, String roleId, String groupId) throws ApiException Unassign a Group Target from Role Unassigns a Group Target from Role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)- Throws:
ApiException
- if fails to make API call
-
unassignGroupTargetFromUserAdminRole
public void unassignGroupTargetFromUserAdminRole(String userId, String roleId, String groupId, Map<String, String> additionalHeaders) throws ApiExceptionUnassign a Group Target from Role Unassigns a Group Target from Role- Parameters:
userId
- ID of an existing Okta user (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-