@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00") public interface Client extends DataStore
Client
is the main entry point to the Okta Java SDK. A JVM project wishing to
communicate with the Okta REST API service must build a Client
instance. After obtaining
a Client instance
, the REST API may be used by making simple Java calls on objects returned from
the Client (or any children objects obtained therein).
For example:
Client client = Clients.builder().build(); client.getUser(userId)
DataStore
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
|
DataStore |
getDataStore()
Returns the internal
DataStore of the client. |
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, delete, getCacheManager, getClientCredentials, getResource, http, instantiate, isReady, save
DataStore getDataStore()
DataStore
of the client. It is typically not necessary to invoke this method as
the Client implements the DataStore
API and will delegate to this instance automatically.DataStore
.@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/apps") ApplicationList listApplications(String q, String filter, String expand, Boolean includeNonDeleted)
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.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/apps") ApplicationList listApplications()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/apps") Application createApplication(Application application, Boolean activate, String oktaAccessGatewayAgent)
application
- (required)activate
- Executes activation lifecycle operation when creating the app (optional, default to true)oktaAccessGatewayAgent
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/apps") Application createApplication(Application application)
application
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/apps/{appId}") Application getApplication(String appId, String expand)
appId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/apps/{appId}") Application getApplication(String appId)
appId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/authenticators") AuthenticatorList listAuthenticators()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/authenticators/{authenticatorId}") Authenticator getAuthenticator(String authenticatorId)
authenticatorId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/authorizationServers") AuthorizationServerList listAuthorizationServers(String q)
q
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/authorizationServers") AuthorizationServerList listAuthorizationServers()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/authorizationServers") AuthorizationServer createAuthorizationServer(AuthorizationServer authorizationServer)
authorizationServer
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}") AuthorizationServer getAuthorizationServer(String authServerId)
authServerId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands") BrandList listBrands()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}") Brand getBrand(String brandId)
brandId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/templates/email") EmailTemplateList listEmailTemplates(String brandId)
brandId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/themes") ThemeResponseList listBrandThemes(String brandId)
brandId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/brands/{brandId}/themes/{themeId}") ThemeResponse getBrandTheme(String brandId, String themeId)
brandId
- (required)themeId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/domains") DomainListResponse listDomains()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/domains") Domain createDomain(Domain domain)
domain
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/domains/{domainId}") void deleteDomain(String domainId)
domainId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/domains/{domainId}") Domain getDomain(String domainId)
domainId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/domains/{domainId}/verify") Domain verifyDomain(String domainId)
domainId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/eventHooks") EventHookList listEventHooks()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/eventHooks") EventHook createEventHook(EventHook eventHook)
eventHook
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/eventHooks/{eventHookId}") EventHook getEventHook(String eventHookId)
eventHookId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/features") FeatureList listFeatures()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/features/{featureId}") Feature getFeature(String featureId)
featureId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups") GroupList listGroups(String q, String search, String expand)
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.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups") GroupList listGroups()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/groups") Group createGroup(Group group)
group
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/rules") GroupRuleList listGroupRules(String search, String expand)
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.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/rules") GroupRuleList listGroupRules()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/groups/rules") GroupRule createGroupRule(GroupRule groupRule)
groupRule
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/rules/{ruleId}") GroupRule getGroupRule(String ruleId, String expand)
ruleId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/rules/{ruleId}") GroupRule getGroupRule(String ruleId)
ruleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/{groupId}") Group getGroup(String groupId)
groupId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/{groupId}/roles") RoleList listGroupAssignedRoles(String groupId, String expand)
groupId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/{groupId}/roles") RoleList listGroupAssignedRoles(String groupId)
groupId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/groups/{groupId}/roles/{roleId}") void removeRoleFromGroup(String groupId, String roleId)
groupId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/{groupId}/roles/{roleId}") Role getRole(String groupId, String roleId)
groupId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps") CatalogApplicationList listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId, String roleId)
groupId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}") void removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup(String groupId, String roleId, String appName)
groupId
- (required)roleId
- (required)appName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}") void removeApplicationTargetFromAdministratorRoleGivenToGroup(String groupId, String roleId, String appName, String applicationId)
groupId
- (required)roleId
- (required)appName
- (required)applicationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/groups/{groupId}/roles/{roleId}/targets/groups") GroupList listGroupTargetsForGroupRole(String groupId, String roleId)
groupId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}") void removeGroupTargetFromGroupAdministratorRoleGivenToGroup(String groupId, String roleId, String targetGroupId)
groupId
- (required)roleId
- (required)targetGroupId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps") IdentityProviderList listIdentityProviders(String q, String type)
q
- Searches the name property of IdPs for matching value (optional)type
- Filters IdPs by type (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps") IdentityProviderList listIdentityProviders()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps") IdentityProvider createIdentityProvider(IdentityProvider identityProvider)
identityProvider
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/credentials/keys") JsonWebKeyList listIdentityProviderKeys()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps/credentials/keys") JsonWebKey createIdentityProviderKey(JsonWebKey jsonWebKey)
jsonWebKey
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/idps/credentials/keys/{keyId}") void deleteIdentityProviderKey(String keyId)
keyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/credentials/keys/{keyId}") JsonWebKey getIdentityProviderKey(String keyId)
keyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/{idpId}") IdentityProvider getIdentityProvider(String idpId)
idpId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps/{idpId}/credentials/csrs/{csrId}/lifecycle/publish") JsonWebKey apiV1IdpsIdpIdCredentialsCsrsCsrIdLifecyclePublishPost(String idpId, String csrId)
idpId
- (required)csrId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/inlineHooks") InlineHookList listInlineHooks(String type)
type
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/inlineHooks") InlineHookList listInlineHooks()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/inlineHooks") InlineHook createInlineHook(InlineHook inlineHook)
inlineHook
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/inlineHooks/{inlineHookId}") InlineHook getInlineHook(String inlineHookId)
inlineHookId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/logs") LogEventList getLogs(Date since, Date until, String filter, String q, String sortOrder)
since
- (optional)until
- (optional)filter
- (optional)q
- (optional)sortOrder
- (optional, default to ASCENDING)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/logs") LogEventList getLogs()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/mappings") ProfileMappingList listProfileMappings(String sourceId, String targetId)
sourceId
- (optional)targetId
- (optional, default to )@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/mappings") ProfileMappingList listProfileMappings()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/mappings/{mappingId}") ProfileMapping getProfileMapping(String mappingId)
mappingId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/meta/schemas/apps/{appInstanceId}/default") UserSchema getApplicationUserSchema(String appInstanceId)
appInstanceId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/meta/schemas/apps/{appInstanceId}/default") UserSchema updateApplicationUserProfile(String appInstanceId, UserSchema body)
appInstanceId
- (required)body
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/meta/schemas/apps/{appInstanceId}/default") UserSchema updateApplicationUserProfile(String appInstanceId)
appInstanceId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/meta/schemas/group/default") GroupSchema getGroupSchema()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/meta/schemas/group/default") GroupSchema updateGroupSchema(GroupSchema body)
body
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/meta/schemas/group/default") GroupSchema updateGroupSchema()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/meta/schemas/user/linkedObjects") LinkedObjectList listLinkedObjectDefinitions()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/meta/schemas/user/linkedObjects") LinkedObject addLinkedObjectDefinition(LinkedObject linkedObject)
linkedObject
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/meta/schemas/user/linkedObjects/{linkedObjectName}") LinkedObject getLinkedObjectDefinition(String linkedObjectName)
linkedObjectName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/meta/schemas/user/{schemaId}") UserSchema getUserSchema(String schemaId)
schemaId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/meta/schemas/user/{schemaId}") UserSchema updateUserProfile(String schemaId, UserSchema userSchema)
schemaId
- (required)userSchema
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/meta/types/user") UserTypeList listUserTypes()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/meta/types/user") UserType createUserType(UserType userType)
userType
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/meta/types/user/{typeId}") UserType getUserType(String typeId)
typeId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/org") OrgSetting getOrgSettings()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/policies") PolicyList listPolicies(String type, String status, String expand)
type
- (required)status
- (optional)expand
- (optional, default to )@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/policies") PolicyList listPolicies(String type)
type
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/policies") Policy createPolicy(Policy policy, Boolean activate)
policy
- (required)activate
- (optional, default to true)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/policies") Policy createPolicy(Policy policy)
policy
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/policies/{policyId}") Policy getPolicy(String policyId, String expand)
policyId
- (required)expand
- (optional, default to )@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/policies/{policyId}") Policy getPolicy(String policyId)
policyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/sessions") Session createSession(CreateSessionRequest createSessionRequest)
createSessionRequest
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/sessions/{sessionId}") Session getSession(String sessionId)
sessionId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/templates/sms") SmsTemplateList listSmsTemplates(SmsTemplateType templateType)
templateType
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/templates/sms") SmsTemplateList listSmsTemplates()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/templates/sms") SmsTemplate createSmsTemplate(SmsTemplate smsTemplate)
smsTemplate
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/templates/sms/{templateId}") SmsTemplate getSmsTemplate(String templateId)
templateId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/threats/configuration") ThreatInsightConfiguration getCurrentConfiguration()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/trustedOrigins") TrustedOriginList listOrigins(String q, String filter)
q
- (optional)filter
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/trustedOrigins") TrustedOriginList listOrigins()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/trustedOrigins") TrustedOrigin createOrigin(TrustedOrigin trustedOrigin)
trustedOrigin
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/trustedOrigins/{trustedOriginId}") TrustedOrigin getOrigin(String trustedOriginId)
trustedOriginId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/trustedOrigins/{trustedOriginId}/lifecycle/activate") TrustedOrigin activateOrigin(String trustedOriginId)
trustedOriginId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/trustedOrigins/{trustedOriginId}/lifecycle/deactivate") TrustedOrigin deactivateOrigin(String trustedOriginId)
trustedOriginId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users") UserList listUsers(String q, String filter, String search, String sortBy, String sortOrder)
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.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users") UserList listUsers()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/users") User createUser(CreateUserRequest body, Boolean activate, Boolean provider, UserNextLogin nextLogin)
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.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/users") User createUser(CreateUserRequest body)
body
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users/{userId}") User getUser(String userId)
userId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/users/{userId}") User partialUpdateUser(User user, String userId, Boolean strict)
user
- (required)userId
- (required)strict
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/users/{userId}") User partialUpdateUser(User user, String userId)
user
- (required)userId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users/{userId}/clients/{clientId}/grants") OAuth2ScopeConsentGrantList listGrantsForUserAndClient(String userId, String clientId, String expand)
userId
- (required)clientId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users/{userId}/clients/{clientId}/grants") OAuth2ScopeConsentGrantList listGrantsForUserAndClient(String userId, String clientId)
userId
- (required)clientId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users/{userId}/factors/{factorId}/transactions/{transactionId}") VerifyUserFactorResponse getFactorTransactionStatus(String userId, String factorId, String transactionId)
userId
- (required)factorId
- (required)transactionId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users/{userId}/grants/{grantId}") OAuth2ScopeConsentGrant getUserGrant(String userId, String grantId, String expand)
userId
- (required)grantId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users/{userId}/grants/{grantId}") OAuth2ScopeConsentGrant getUserGrant(String userId, String grantId)
userId
- (required)grantId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps") CatalogApplicationList listApplicationTargetsForApplicationAdministratorRoleForUser(String userId, String roleId)
userId
- (required)roleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}") void removeApplicationTargetFromApplicationAdministratorRoleForUser(String userId, String roleId, String appName)
userId
- (required)roleId
- (required)appName
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}") void removeApplicationTargetFromAdministratorRoleForUser(String userId, String roleId, String appName, String applicationId)
userId
- (required)roleId
- (required)appName
- (required)applicationId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/zones") NetworkZoneList listNetworkZones(String filter)
filter
- Filters zones by usage or id expression (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/zones") NetworkZoneList listNetworkZones()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/zones") NetworkZone createNetworkZone(NetworkZone zone)
zone
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/zones/{zoneId}") NetworkZone getNetworkZone(String zoneId)
zoneId
- (required)Copyright © 2017–2023 Okta. All rights reserved.