@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultClient extends BaseClient implements Client
Constructor and Description |
---|
DefaultClient(ClientConfiguration clientConfiguration,
CacheManager cacheManager)
Instantiates a new Client instance that will communicate with the Okta REST API.
|
DefaultClient(ClientConfiguration clientConfiguration,
CacheManager cacheManager,
com.okta.commons.http.RequestExecutor requestExecutor)
Instantiates a new Client instance that will communicate with the Okta REST API.
|
Modifier and Type | Method and Description |
---|---|
TrustedOrigin |
activateOrigin(String trustedOriginId)
Success
|
LinkedObject |
addLinkedObjectDefinition(LinkedObject linkedObject)
Success
|
JsonWebKey |
apiV1IdpsIdpIdCredentialsCsrsCsrIdLifecyclePublishPost(String idpId,
String csrId)
Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.
|
Application |
createApplication(Application application)
Add Application
Adds a new application to your Okta organization.
|
Application |
createApplication(Application application,
Boolean activate,
String oktaAccessGatewayAgent)
Add Application
Adds a new application to your Okta organization.
|
AuthorizationServer |
createAuthorizationServer(AuthorizationServer authorizationServer)
Success
|
Domain |
createDomain(Domain domain)
Create Domain
Creates your domain.
|
EventHook |
createEventHook(EventHook eventHook)
Success
|
Group |
createGroup(Group group)
Add Group
Adds a new group with `OKTA_GROUP` type to your organization.
|
GroupRule |
createGroupRule(GroupRule groupRule)
Create Group Rule
Creates a group rule to dynamically add users to the specified group if they match the condition
|
IdentityProvider |
createIdentityProvider(IdentityProvider identityProvider)
Add Identity Provider
Adds a new IdP to your organization.
|
JsonWebKey |
createIdentityProviderKey(JsonWebKey jsonWebKey)
Add X.509 Certificate Public Key
Adds a new X.509 certificate credential to the IdP key store.
|
InlineHook |
createInlineHook(InlineHook inlineHook)
Success
|
NetworkZone |
createNetworkZone(NetworkZone zone)
Add Network Zone
Adds a new network zone to your Okta organization.
|
TrustedOrigin |
createOrigin(TrustedOrigin trustedOrigin)
Success
|
Policy |
createPolicy(Policy policy)
Creates a policy.
|
Policy |
createPolicy(Policy policy,
Boolean activate)
Creates a policy.
|
Session |
createSession(CreateSessionRequest createSessionRequest)
Create Session with Session Token
Creates a new session for a user with a valid session token.
|
SmsTemplate |
createSmsTemplate(SmsTemplate smsTemplate)
Add SMS Template
Adds a new custom SMS template to your organization.
|
User |
createUser(CreateUserRequest body)
Create User
Creates a new user in your Okta organization with or without credentials.
|
User |
createUser(CreateUserRequest body,
Boolean activate,
Boolean provider,
UserNextLogin nextLogin)
Create User
Creates a new user in your Okta organization with or without credentials.
|
UserType |
createUserType(UserType userType)
Creates a new User Type.
|
TrustedOrigin |
deactivateOrigin(String trustedOriginId)
Success
|
void |
deleteDomain(String domainId)
Delete Domain
Deletes a Domain by `id`.
|
void |
deleteIdentityProviderKey(String keyId)
Delete Key
Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.
|
Application |
getApplication(String appId)
Get Application
Fetches an application from your Okta organization by `id`.
|
Application |
getApplication(String appId,
String expand)
Get Application
Fetches an application from your Okta organization by `id`.
|
UserSchema |
getApplicationUserSchema(String appInstanceId)
Fetches the Schema for an App User
Fetches the Schema for an App User
|
Authenticator |
getAuthenticator(String authenticatorId)
Success
|
AuthorizationServer |
getAuthorizationServer(String authServerId)
Success
|
Brand |
getBrand(String brandId)
Get Brand
Fetches a brand by `brandId`
|
ThemeResponse |
getBrandTheme(String brandId,
String themeId)
Get a theme for a brand
Fetches a theme for a brand
|
ThreatInsightConfiguration |
getCurrentConfiguration()
Gets current ThreatInsight configuration
|
Domain |
getDomain(String domainId)
Get Domain
Fetches a Domain by `id`.
|
EventHook |
getEventHook(String eventHookId)
Success
|
VerifyUserFactorResponse |
getFactorTransactionStatus(String userId,
String factorId,
String transactionId)
Polls factors verification transaction for status.
|
Feature |
getFeature(String featureId)
Success
|
Group |
getGroup(String groupId)
List Group Rules
Fetches a group from your organization.
|
GroupRule |
getGroupRule(String ruleId)
Get Group Rule
Fetches a specific group rule by id from your organization
|
GroupRule |
getGroupRule(String ruleId,
String expand)
Get Group Rule
Fetches a specific group rule by id from your organization
|
GroupSchema |
getGroupSchema()
Fetches the group schema
Fetches the group schema
|
IdentityProvider |
getIdentityProvider(String idpId)
Get Identity Provider
Fetches an IdP by `id`.
|
JsonWebKey |
getIdentityProviderKey(String keyId)
Get Key
Gets a specific IdP Key Credential by `kid`
|
InlineHook |
getInlineHook(String inlineHookId)
Gets an inline hook by ID
|
LinkedObject |
getLinkedObjectDefinition(String linkedObjectName)
Success
|
LogEventList |
getLogs()
Fetch a list of events from your Okta organization system log.
|
LogEventList |
getLogs(Date since,
Date until,
String filter,
String q,
String sortOrder)
Fetch a list of events from your Okta organization system log.
|
NetworkZone |
getNetworkZone(String zoneId)
Get Network Zone
Fetches a network zone from your Okta organization by `id`.
|
OrgSetting |
getOrgSettings()
Get org settings
Get settings of your organization.
|
TrustedOrigin |
getOrigin(String trustedOriginId)
Success
|
Policy |
getPolicy(String policyId)
Gets a policy.
|
Policy |
getPolicy(String policyId,
String expand)
Gets a policy.
|
ProfileMapping |
getProfileMapping(String mappingId)
Get Profile Mapping
Fetches a single Profile Mapping referenced by its ID.
|
Role |
getRole(String groupId,
String roleId)
Success
|
Session |
getSession(String sessionId)
Get details about a session.
|
SmsTemplate |
getSmsTemplate(String templateId)
Get SMS Template
Fetches a specific template by `id`
|
User |
getUser(String userId)
Get User
Fetches a user from your Okta organization.
|
OAuth2ScopeConsentGrant |
getUserGrant(String userId,
String grantId)
Gets a grant for the specified user
|
OAuth2ScopeConsentGrant |
getUserGrant(String userId,
String grantId,
String expand)
Gets a grant for the specified user
|
UserSchema |
getUserSchema(String schemaId)
Fetches the schema for a Schema Id.
|
UserType |
getUserType(String typeId)
Fetches a User Type by ID.
|
ApplicationList |
listApplications()
List Applications
Enumerates apps added to your organization with pagination.
|
ApplicationList |
listApplications(String q,
String filter,
String expand,
Boolean includeNonDeleted)
List Applications
Enumerates apps added to your organization with pagination.
|
CatalogApplicationList |
listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId,
String roleId)
Lists all App targets for an `APP_ADMIN` Role assigned to a Group.
|
CatalogApplicationList |
listApplicationTargetsForApplicationAdministratorRoleForUser(String userId,
String roleId)
Lists all App targets for an `APP_ADMIN` Role assigned to a User.
|
AuthenticatorList |
listAuthenticators()
Success
|
AuthorizationServerList |
listAuthorizationServers()
Success
|
AuthorizationServerList |
listAuthorizationServers(String q)
Success
|
BrandList |
listBrands()
List Brands
List all the brands in your org.
|
ThemeResponseList |
listBrandThemes(String brandId)
Get Brand Themes
List all the themes in your brand
|
DomainListResponse |
listDomains()
List Domains
List all verified custom Domains for the org.
|
EmailTemplateList |
listEmailTemplates(String brandId)
List Email Templates
List email templates in your organization with pagination.
|
EventHookList |
listEventHooks()
Success
|
FeatureList |
listFeatures()
Success
|
OAuth2ScopeConsentGrantList |
listGrantsForUserAndClient(String userId,
String clientId)
Lists all grants for a specified user and client
|
OAuth2ScopeConsentGrantList |
listGrantsForUserAndClient(String userId,
String clientId,
String expand)
Lists all grants for a specified user and client
|
RoleList |
listGroupAssignedRoles(String groupId)
Success
|
RoleList |
listGroupAssignedRoles(String groupId,
String expand)
Success
|
GroupRuleList |
listGroupRules()
List Group Rules
Lists all group rules for your organization.
|
GroupRuleList |
listGroupRules(String search,
String expand)
List Group Rules
Lists all group rules for your organization.
|
GroupList |
listGroups()
List Groups
Enumerates groups in your organization with pagination.
|
GroupList |
listGroups(String q,
String search,
String expand)
List Groups
Enumerates groups in your organization with pagination.
|
GroupList |
listGroupTargetsForGroupRole(String groupId,
String roleId)
Success
|
JsonWebKeyList |
listIdentityProviderKeys()
List Keys
Enumerates IdP key credentials.
|
IdentityProviderList |
listIdentityProviders()
List Identity Providers
Enumerates IdPs in your organization with pagination.
|
IdentityProviderList |
listIdentityProviders(String q,
String type)
List Identity Providers
Enumerates IdPs in your organization with pagination.
|
InlineHookList |
listInlineHooks()
Success
|
InlineHookList |
listInlineHooks(String type)
Success
|
LinkedObjectList |
listLinkedObjectDefinitions()
Success
|
NetworkZoneList |
listNetworkZones()
List Network Zones
Enumerates network zones added to your organization with pagination.
|
NetworkZoneList |
listNetworkZones(String filter)
List Network Zones
Enumerates network zones added to your organization with pagination.
|
TrustedOriginList |
listOrigins()
Success
|
TrustedOriginList |
listOrigins(String q,
String filter)
Success
|
PolicyList |
listPolicies(String type)
Gets all policies with the specified type.
|
PolicyList |
listPolicies(String type,
String status,
String expand)
Gets all policies with the specified type.
|
ProfileMappingList |
listProfileMappings()
Enumerates Profile Mappings in your organization with pagination.
|
ProfileMappingList |
listProfileMappings(String sourceId,
String targetId)
Enumerates Profile Mappings in your organization with pagination.
|
SmsTemplateList |
listSmsTemplates()
List SMS Templates
Enumerates custom SMS templates in your organization.
|
SmsTemplateList |
listSmsTemplates(SmsTemplateType templateType)
List SMS Templates
Enumerates custom SMS templates in your organization.
|
UserList |
listUsers()
List Users
Lists users in your organization with pagination in most cases.
|
UserList |
listUsers(String q,
String filter,
String search,
String sortBy,
String sortOrder)
List Users
Lists users in your organization with pagination in most cases.
|
UserTypeList |
listUserTypes()
Fetches all User Types in your org
|
User |
partialUpdateUser(User user,
String userId)
Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.
|
User |
partialUpdateUser(User user,
String userId,
Boolean strict)
Fetch a user by `id`, `login`, or `login shortname` if the short name is unambiguous.
|
void |
removeApplicationTargetFromAdministratorRoleForUser(String userId,
String roleId,
String appName,
String applicationId)
Remove App Instance Target to App Administrator Role given to a User
Remove App Instance Target to App Administrator Role given to a User
|
void |
removeApplicationTargetFromAdministratorRoleGivenToGroup(String groupId,
String roleId,
String appName,
String applicationId)
Remove App Instance Target to App Administrator Role given to a Group
Remove App Instance Target to App Administrator Role given to a Group
|
void |
removeApplicationTargetFromApplicationAdministratorRoleForUser(String userId,
String roleId,
String appName)
Success
|
void |
removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup(String groupId,
String roleId,
String appName)
Success
|
void |
removeGroupTargetFromGroupAdministratorRoleGivenToGroup(String groupId,
String roleId,
String targetGroupId) |
void |
removeRoleFromGroup(String groupId,
String roleId)
Unassigns a Role from a Group
|
UserSchema |
updateApplicationUserProfile(String appInstanceId)
Partial updates on the User Profile properties of the Application User Schema.
|
UserSchema |
updateApplicationUserProfile(String appInstanceId,
UserSchema body)
Partial updates on the User Profile properties of the Application User Schema.
|
GroupSchema |
updateGroupSchema()
Updates, adds ore removes one or more custom Group Profile properties in the schema
Updates, adds ore removes one or more custom Group Profile properties in the schema
|
GroupSchema |
updateGroupSchema(GroupSchema body)
Updates, adds ore removes one or more custom Group Profile properties in the schema
Updates, adds ore removes one or more custom Group Profile properties in the schema
|
UserSchema |
updateUserProfile(String schemaId,
UserSchema userSchema)
Partial updates on the User Profile properties of the user schema.
|
Domain |
verifyDomain(String domainId)
Verify Domain
Verifies the Domain by `id`.
|
create, createDataStore, createRequestExecutor, delete, getCacheManager, getClientCredentials, getDataStore, getResource, http, instantiate, isReady, save
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataStore
create, delete, getCacheManager, getClientCredentials, getResource, http, instantiate, isReady, save
public DefaultClient(ClientConfiguration clientConfiguration, CacheManager cacheManager)
clientConfiguration
- the ClientConfiguration
containing the connection informationcacheManager
- the CacheManager
that should be used to cachepublic DefaultClient(ClientConfiguration clientConfiguration, CacheManager cacheManager, com.okta.commons.http.RequestExecutor requestExecutor)
clientConfiguration
- the ClientConfiguration
containing the connection informationcacheManager
- the CacheManager
that should be used to cacherequestExecutor
- the RequestExecutor
that should be used to execute requests@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/apps") public ApplicationList listApplications(String q, String filter, String expand, Boolean includeNonDeleted)
listApplications
in interface Client
q
- (optional)filter
- Filters apps by status, user.id, group.id or credentials.signing.kid expression (optional)expand
- Traverses users link relationship and optionally embeds Application User resource (optional)includeNonDeleted
- (optional, default to false)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/apps") public ApplicationList listApplications()
listApplications
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/apps") public Application createApplication(Application application, Boolean activate, String oktaAccessGatewayAgent)
createApplication
in interface Client
application
- (required)activate
- Executes activation lifecycle operation when creating the app (optional, default to true)oktaAccessGatewayAgent
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/apps") public Application createApplication(Application application)
createApplication
in interface Client
application
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/apps/{appId}") public Application getApplication(String appId, String expand)
getApplication
in interface Client
appId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/apps/{appId}") public Application getApplication(String appId)
getApplication
in interface Client
appId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authenticators") public AuthenticatorList listAuthenticators()
listAuthenticators
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authenticators/{authenticatorId}") public Authenticator getAuthenticator(String authenticatorId)
getAuthenticator
in interface Client
authenticatorId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers") public AuthorizationServerList listAuthorizationServers(String q)
listAuthorizationServers
in interface Client
q
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers") public AuthorizationServerList listAuthorizationServers()
listAuthorizationServers
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/authorizationServers") public AuthorizationServer createAuthorizationServer(AuthorizationServer authorizationServer)
createAuthorizationServer
in interface Client
authorizationServer
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}") public AuthorizationServer getAuthorizationServer(String authServerId)
getAuthorizationServer
in interface Client
authServerId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/brands") public BrandList listBrands()
listBrands
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/brands/{brandId}") public Brand getBrand(String brandId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/brands/{brandId}/templates/email") public EmailTemplateList listEmailTemplates(String brandId)
listEmailTemplates
in interface Client
brandId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/brands/{brandId}/themes") public ThemeResponseList listBrandThemes(String brandId)
listBrandThemes
in interface Client
brandId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/brands/{brandId}/themes/{themeId}") public ThemeResponse getBrandTheme(String brandId, String themeId)
getBrandTheme
in interface Client
brandId
- (required)themeId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/domains") public DomainListResponse listDomains()
listDomains
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/domains") public Domain createDomain(Domain domain)
createDomain
in interface Client
domain
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/domains/{domainId}") public void deleteDomain(String domainId)
deleteDomain
in interface Client
domainId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/domains/{domainId}") public Domain getDomain(String domainId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/domains/{domainId}/verify") public Domain verifyDomain(String domainId)
verifyDomain
in interface Client
domainId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/eventHooks") public EventHookList listEventHooks()
listEventHooks
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/eventHooks") public EventHook createEventHook(EventHook eventHook)
createEventHook
in interface Client
eventHook
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/eventHooks/{eventHookId}") public EventHook getEventHook(String eventHookId)
getEventHook
in interface Client
eventHookId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/features") public FeatureList listFeatures()
listFeatures
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/features/{featureId}") public Feature getFeature(String featureId)
getFeature
in interface Client
featureId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups") public GroupList listGroups(String q, String search, String expand)
listGroups
in interface Client
q
- Searches the name property of groups for matching value (optional)search
- Filter expression for groups (optional)expand
- If specified, it causes additional metadata to be included in the response. (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups") public GroupList listGroups()
listGroups
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/groups") public Group createGroup(Group group)
createGroup
in interface Client
group
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/rules") public GroupRuleList listGroupRules(String search, String expand)
listGroupRules
in interface Client
search
- Specifies the keyword to search fules for (optional)expand
- If specified as `groupIdToGroupNameMap`, then show group names (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/rules") public GroupRuleList listGroupRules()
listGroupRules
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/groups/rules") public GroupRule createGroupRule(GroupRule groupRule)
createGroupRule
in interface Client
groupRule
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/rules/{ruleId}") public GroupRule getGroupRule(String ruleId, String expand)
getGroupRule
in interface Client
ruleId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/rules/{ruleId}") public GroupRule getGroupRule(String ruleId)
getGroupRule
in interface Client
ruleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/{groupId}") public Group getGroup(String groupId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/{groupId}/roles") public RoleList listGroupAssignedRoles(String groupId, String expand)
listGroupAssignedRoles
in interface Client
groupId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/{groupId}/roles") public RoleList listGroupAssignedRoles(String groupId)
listGroupAssignedRoles
in interface Client
groupId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/groups/{groupId}/roles/{roleId}") public void removeRoleFromGroup(String groupId, String roleId)
removeRoleFromGroup
in interface Client
groupId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/{groupId}/roles/{roleId}") public Role getRole(String groupId, String roleId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps") public CatalogApplicationList listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId, String roleId)
listApplicationTargetsForApplicationAdministratorRoleForGroup
in interface Client
groupId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}") public void removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup(String groupId, String roleId, String appName)
removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup
in interface Client
groupId
- (required)roleId
- (required)appName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}") public void removeApplicationTargetFromAdministratorRoleGivenToGroup(String groupId, String roleId, String appName, String applicationId)
removeApplicationTargetFromAdministratorRoleGivenToGroup
in interface Client
groupId
- (required)roleId
- (required)appName
- (required)applicationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/groups/{groupId}/roles/{roleId}/targets/groups") public GroupList listGroupTargetsForGroupRole(String groupId, String roleId)
listGroupTargetsForGroupRole
in interface Client
groupId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}") public void removeGroupTargetFromGroupAdministratorRoleGivenToGroup(String groupId, String roleId, String targetGroupId)
removeGroupTargetFromGroupAdministratorRoleGivenToGroup
in interface Client
groupId
- (required)roleId
- (required)targetGroupId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/idps") public IdentityProviderList listIdentityProviders(String q, String type)
listIdentityProviders
in interface Client
q
- Searches the name property of IdPs for matching value (optional)type
- Filters IdPs by type (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/idps") public IdentityProviderList listIdentityProviders()
listIdentityProviders
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/idps") public IdentityProvider createIdentityProvider(IdentityProvider identityProvider)
createIdentityProvider
in interface Client
identityProvider
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/idps/credentials/keys") public JsonWebKeyList listIdentityProviderKeys()
listIdentityProviderKeys
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/idps/credentials/keys") public JsonWebKey createIdentityProviderKey(JsonWebKey jsonWebKey)
createIdentityProviderKey
in interface Client
jsonWebKey
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/idps/credentials/keys/{keyId}") public void deleteIdentityProviderKey(String keyId)
deleteIdentityProviderKey
in interface Client
keyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/idps/credentials/keys/{keyId}") public JsonWebKey getIdentityProviderKey(String keyId)
getIdentityProviderKey
in interface Client
keyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/idps/{idpId}") public IdentityProvider getIdentityProvider(String idpId)
getIdentityProvider
in interface Client
idpId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish") public JsonWebKey apiV1IdpsIdpIdCredentialsCsrsCsrIdLifecyclePublishPost(String idpId, String csrId)
apiV1IdpsIdpIdCredentialsCsrsCsrIdLifecyclePublishPost
in interface Client
idpId
- (required)csrId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/inlineHooks") public InlineHookList listInlineHooks(String type)
listInlineHooks
in interface Client
type
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/inlineHooks") public InlineHookList listInlineHooks()
listInlineHooks
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/inlineHooks") public InlineHook createInlineHook(InlineHook inlineHook)
createInlineHook
in interface Client
inlineHook
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/inlineHooks/{inlineHookId}") public InlineHook getInlineHook(String inlineHookId)
getInlineHook
in interface Client
inlineHookId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/logs") public LogEventList getLogs(Date since, Date until, String filter, String q, String sortOrder)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/logs") public LogEventList getLogs()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/mappings") public ProfileMappingList listProfileMappings(String sourceId, String targetId)
listProfileMappings
in interface Client
sourceId
- (optional)targetId
- (optional, default to )@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/mappings") public ProfileMappingList listProfileMappings()
listProfileMappings
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/mappings/{mappingId}") public ProfileMapping getProfileMapping(String mappingId)
getProfileMapping
in interface Client
mappingId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/meta/schemas/apps/{appInstanceId}/default") public UserSchema getApplicationUserSchema(String appInstanceId)
getApplicationUserSchema
in interface Client
appInstanceId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/meta/schemas/apps/{appInstanceId}/default") public UserSchema updateApplicationUserProfile(String appInstanceId, UserSchema body)
updateApplicationUserProfile
in interface Client
appInstanceId
- (required)body
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/meta/schemas/apps/{appInstanceId}/default") public UserSchema updateApplicationUserProfile(String appInstanceId)
updateApplicationUserProfile
in interface Client
appInstanceId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/meta/schemas/group/default") public GroupSchema getGroupSchema()
getGroupSchema
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/meta/schemas/group/default") public GroupSchema updateGroupSchema(GroupSchema body)
updateGroupSchema
in interface Client
body
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/meta/schemas/group/default") public GroupSchema updateGroupSchema()
updateGroupSchema
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/meta/schemas/user/linkedObjects") public LinkedObjectList listLinkedObjectDefinitions()
listLinkedObjectDefinitions
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/meta/schemas/user/linkedObjects") public LinkedObject addLinkedObjectDefinition(LinkedObject linkedObject)
addLinkedObjectDefinition
in interface Client
linkedObject
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}") public LinkedObject getLinkedObjectDefinition(String linkedObjectName)
getLinkedObjectDefinition
in interface Client
linkedObjectName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/meta/schemas/user/{schemaId}") public UserSchema getUserSchema(String schemaId)
getUserSchema
in interface Client
schemaId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/meta/schemas/user/{schemaId}") public UserSchema updateUserProfile(String schemaId, UserSchema userSchema)
updateUserProfile
in interface Client
schemaId
- (required)userSchema
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/meta/types/user") public UserTypeList listUserTypes()
listUserTypes
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/meta/types/user") public UserType createUserType(UserType userType)
createUserType
in interface Client
userType
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/meta/types/user/{typeId}") public UserType getUserType(String typeId)
getUserType
in interface Client
typeId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/org") public OrgSetting getOrgSettings()
getOrgSettings
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/policies") public PolicyList listPolicies(String type, String status, String expand)
listPolicies
in interface Client
type
- (required)status
- (optional)expand
- (optional, default to )@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/policies") public PolicyList listPolicies(String type)
listPolicies
in interface Client
type
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/policies") public Policy createPolicy(Policy policy, Boolean activate)
createPolicy
in interface Client
policy
- (required)activate
- (optional, default to true)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/policies") public Policy createPolicy(Policy policy)
createPolicy
in interface Client
policy
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/policies/{policyId}") public Policy getPolicy(String policyId, String expand)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/policies/{policyId}") public Policy getPolicy(String policyId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/sessions") public Session createSession(CreateSessionRequest createSessionRequest)
createSession
in interface Client
createSessionRequest
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/sessions/{sessionId}") public Session getSession(String sessionId)
getSession
in interface Client
sessionId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/templates/sms") public SmsTemplateList listSmsTemplates(SmsTemplateType templateType)
listSmsTemplates
in interface Client
templateType
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/templates/sms") public SmsTemplateList listSmsTemplates()
listSmsTemplates
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/templates/sms") public SmsTemplate createSmsTemplate(SmsTemplate smsTemplate)
createSmsTemplate
in interface Client
smsTemplate
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/templates/sms/{templateId}") public SmsTemplate getSmsTemplate(String templateId)
getSmsTemplate
in interface Client
templateId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/threats/configuration") public ThreatInsightConfiguration getCurrentConfiguration()
getCurrentConfiguration
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/trustedOrigins") public TrustedOriginList listOrigins(String q, String filter)
listOrigins
in interface Client
q
- (optional)filter
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/trustedOrigins") public TrustedOriginList listOrigins()
listOrigins
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/trustedOrigins") public TrustedOrigin createOrigin(TrustedOrigin trustedOrigin)
createOrigin
in interface Client
trustedOrigin
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/trustedOrigins/{trustedOriginId}") public TrustedOrigin getOrigin(String trustedOriginId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate") public TrustedOrigin activateOrigin(String trustedOriginId)
activateOrigin
in interface Client
trustedOriginId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate") public TrustedOrigin deactivateOrigin(String trustedOriginId)
deactivateOrigin
in interface Client
trustedOriginId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users") public UserList listUsers(String q, String filter, String search, String sortBy, String sortOrder)
listUsers
in interface Client
q
- Finds a user that matches firstName, lastName, and email properties (optional)filter
- Filters users with a supported expression for a subset of properties (optional)search
- Searches for users with a supported filtering expression for most properties (optional)sortBy
- (optional)sortOrder
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users") public UserList listUsers()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/users") public User createUser(CreateUserRequest body, Boolean activate, Boolean provider, UserNextLogin nextLogin)
createUser
in interface Client
body
- (required)activate
- Executes activation lifecycle operation when creating the user (optional, default to true)provider
- Indicates whether to create a user with a specified authentication provider (optional, default to false)nextLogin
- With activate=true, set nextLogin to \"changePassword\" to have the password be EXPIRED, so user must change it the next time they log in. (optional, default to )@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/users") public User createUser(CreateUserRequest body)
createUser
in interface Client
body
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users/{userId}") public User getUser(String userId)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/users/{userId}") public User partialUpdateUser(User user, String userId, Boolean strict)
partialUpdateUser
in interface Client
user
- (required)userId
- (required)strict
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/users/{userId}") public User partialUpdateUser(User user, String userId)
partialUpdateUser
in interface Client
user
- (required)userId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users/{userId}/clients/{clientId}/grants") public OAuth2ScopeConsentGrantList listGrantsForUserAndClient(String userId, String clientId, String expand)
listGrantsForUserAndClient
in interface Client
userId
- (required)clientId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users/{userId}/clients/{clientId}/grants") public OAuth2ScopeConsentGrantList listGrantsForUserAndClient(String userId, String clientId)
listGrantsForUserAndClient
in interface Client
userId
- (required)clientId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}") public VerifyUserFactorResponse getFactorTransactionStatus(String userId, String factorId, String transactionId)
getFactorTransactionStatus
in interface Client
userId
- (required)factorId
- (required)transactionId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users/{userId}/grants/{grantId}") public OAuth2ScopeConsentGrant getUserGrant(String userId, String grantId, String expand)
getUserGrant
in interface Client
userId
- (required)grantId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users/{userId}/grants/{grantId}") public OAuth2ScopeConsentGrant getUserGrant(String userId, String grantId)
getUserGrant
in interface Client
userId
- (required)grantId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps") public CatalogApplicationList listApplicationTargetsForApplicationAdministratorRoleForUser(String userId, String roleId)
listApplicationTargetsForApplicationAdministratorRoleForUser
in interface Client
userId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}") public void removeApplicationTargetFromApplicationAdministratorRoleForUser(String userId, String roleId, String appName)
removeApplicationTargetFromApplicationAdministratorRoleForUser
in interface Client
userId
- (required)roleId
- (required)appName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}") public void removeApplicationTargetFromAdministratorRoleForUser(String userId, String roleId, String appName, String applicationId)
removeApplicationTargetFromAdministratorRoleForUser
in interface Client
userId
- (required)roleId
- (required)appName
- (required)applicationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/zones") public NetworkZoneList listNetworkZones(String filter)
listNetworkZones
in interface Client
filter
- Filters zones by usage or id expression (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/zones") public NetworkZoneList listNetworkZones()
listNetworkZones
in interface Client
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/zones") public NetworkZone createNetworkZone(NetworkZone zone)
createNetworkZone
in interface Client
zone
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/zones/{zoneId}") public NetworkZone getNetworkZone(String zoneId)
getNetworkZone
in interface Client
zoneId
- (required)Copyright © 2017–2023 Okta. All rights reserved.