All URIs are relative to https://subdomain.okta.com
Method | HTTP request | Description |
---|---|---|
bulkRemoveEmailAddressBounces | POST /api/v1/org/email/bounces/remove-list | Remove Emails from Email Provider Bounce List |
extendOktaSupport | POST /api/v1/org/privacy/oktaSupport/extend | Extend Okta Support Access |
getOktaCommunicationSettings | GET /api/v1/org/privacy/oktaCommunication | Retreive the Okta Communication Settings |
getOrgContactTypes | GET /api/v1/org/contacts | Retrieve the Org Contact Types |
getOrgContactUser | GET /api/v1/org/contacts/{contactType} | Retrieve the User of the Contact Type |
getOrgOktaSupportSettings | GET /api/v1/org/privacy/oktaSupport | Retrieve the Okta Support Settings |
getOrgPreferences | GET /api/v1/org/preferences | Retrieve the Org Preferences |
getOrgSettings | GET /api/v1/org | Retrieve the Org Settings |
grantOktaSupport | POST /api/v1/org/privacy/oktaSupport/grant | Grant Okta Support Access to your Org |
hideOktaUIFooter | POST /api/v1/org/preferences/hideEndUserFooter | Update the Preference to Hide the Okta Dashboard Footer |
optInUsersToOktaCommunicationEmails | POST /api/v1/org/privacy/oktaCommunication/optIn | Opt in all Users to Okta Communication emails |
optOutUsersFromOktaCommunicationEmails | POST /api/v1/org/privacy/oktaCommunication/optOut | Opt out all Users from Okta Communication emails |
partialUpdateOrgSetting | POST /api/v1/org | Update the Org Settings |
revokeOktaSupport | POST /api/v1/org/privacy/oktaSupport/revoke | Revoke Okta Support Access |
showOktaUIFooter | POST /api/v1/org/preferences/showEndUserFooter | Update the Preference to Show the Okta Dashboard Footer |
updateOrgContactUser | PUT /api/v1/org/contacts/{contactType} | Replace the User of the Contact Type |
updateOrgLogo | POST /api/v1/org/logo | Upload the Org Logo |
updateOrgSetting | PUT /api/v1/org | Replace the Org Settings |
wellknownOrgMetadata | GET /.well-known/okta-organization | Retrieve the Well-Known Org Metadata |
BouncesRemoveListResult bulkRemoveEmailAddressBounces()
A list of email addresses to be removed from the set of email addresses that are bounced.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:okta.OrgSettingApiBulkRemoveEmailAddressBouncesRequest = {
// BouncesRemoveListObj (optional)
BouncesRemoveListObj: {
emailAddresses: [
"emailAddresses_example",
],
},
};
apiInstance.bulkRemoveEmailAddressBounces(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
BouncesRemoveListObj | BouncesRemoveListObj |
BouncesRemoveListResult
| Status code | Description | Response headers | |————-|————-|——————| 200 | Removes the provided list of emails from the set of email addresses that are bounced so that the provider resumes sending emails to those addresses. | - | 400 | Bad Request | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgOktaSupportSettingsObj extendOktaSupport()
Extends the length of time that Okta Support can access your org by 24 hours. This means that 24 hours are added to the remaining access time.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.extendOktaSupport(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgOktaSupportSettingsObj
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgOktaCommunicationSetting getOktaCommunicationSettings()
Gets Okta Communication Settings of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.getOktaCommunicationSettings(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgOktaCommunicationSetting
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Array
getOrgContactTypes()
Gets Contact Types of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.getOrgContactTypes(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
**Array
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgContactUser getOrgContactUser()
Retrieves the URL of the User associated with the specified Contact Type.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:okta.OrgSettingApiGetOrgContactUserRequest = {
// string
contactType: "contactType_example",
};
apiInstance.getOrgContactUser(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
contactType | [string] | defaults to undefined |
OrgContactUser
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 404 | Not Found | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgOktaSupportSettingsObj getOrgOktaSupportSettings()
Gets Okta Support Settings of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.getOrgOktaSupportSettings(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgOktaSupportSettingsObj
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgPreferences getOrgPreferences()
Gets preferences of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.getOrgPreferences(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgPreferences
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgSetting getOrgSettings()
Get settings of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.getOrgSettings(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgSetting
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgOktaSupportSettingsObj grantOktaSupport()
Enables you to temporarily allow Okta Support to access your org as an administrator for eight hours.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.grantOktaSupport(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgOktaSupportSettingsObj
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgPreferences hideOktaUIFooter()
Hide the Okta UI footer for all end users of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.hideOktaUIFooter(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgPreferences
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgOktaCommunicationSetting optInUsersToOktaCommunicationEmails()
Opts in all users of this org to Okta Communication emails.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.optInUsersToOktaCommunicationEmails(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgOktaCommunicationSetting
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgOktaCommunicationSetting optOutUsersFromOktaCommunicationEmails()
Opts out all users of this org from Okta Communication emails.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.optOutUsersFromOktaCommunicationEmails(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgOktaCommunicationSetting
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgSetting partialUpdateOrgSetting()
Partial update settings of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:okta.OrgSettingApiPartialUpdateOrgSettingRequest = {
// OrgSetting (optional)
OrgSetting: {
address1: "address1_example",
address2: "address2_example",
city: "city_example",
companyName: "companyName_example",
country: "country_example",
endUserSupportHelpURL: "endUserSupportHelpURL_example",
phoneNumber: "phoneNumber_example",
postalCode: "postalCode_example",
state: "state_example",
supportPhoneNumber: "supportPhoneNumber_example",
website: "website_example",
_links: {
"key": {},
},
},
};
apiInstance.partialUpdateOrgSetting(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
OrgSetting | OrgSetting |
OrgSetting
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 400 | Bad Request | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgOktaSupportSettingsObj revokeOktaSupport()
Revokes Okta Support access to your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.revokeOktaSupport(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgOktaSupportSettingsObj
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgPreferences showOktaUIFooter()
Makes the Okta UI footer visible for all end users of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.showOktaUIFooter(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
OrgPreferences
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgContactUser updateOrgContactUser(orgContactUser)
Updates the User associated with the specified Contact Type.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:okta.OrgSettingApiUpdateOrgContactUserRequest = {
// string
contactType: "contactType_example",
// OrgContactUser
orgContactUser: {
userId: "userId_example",
},
};
apiInstance.updateOrgContactUser(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
orgContactUser | OrgContactUser | ||
contactType | [string] | defaults to undefined |
OrgContactUser
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 400 | Bad Request | - | 403 | Forbidden | - | 404 | Not Found | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void updateOrgLogo()
Updates the logo for your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:okta.OrgSettingApiUpdateOrgLogoRequest = {
// HttpFile
file: { data: Buffer.from(fs.readFileSync('/path/to/file', 'utf-8')), name: '/path/to/file' },
};
apiInstance.updateOrgLogo(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
file | [HttpFile] | defaults to undefined |
void
| Status code | Description | Response headers | |————-|————-|——————| 201 | Created | - | 400 | Bad Request | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
OrgSetting updateOrgSetting(orgSetting)
Update settings of your organization.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:okta.OrgSettingApiUpdateOrgSettingRequest = {
// OrgSetting
orgSetting: {
address1: "address1_example",
address2: "address2_example",
city: "city_example",
companyName: "companyName_example",
country: "country_example",
endUserSupportHelpURL: "endUserSupportHelpURL_example",
phoneNumber: "phoneNumber_example",
postalCode: "postalCode_example",
state: "state_example",
supportPhoneNumber: "supportPhoneNumber_example",
website: "website_example",
_links: {
"key": {},
},
},
};
apiInstance.updateOrgSetting(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
orgSetting | OrgSetting |
OrgSetting
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 400 | Bad Request | - | 403 | Forbidden | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WellKnownOrgMetadata wellknownOrgMetadata()
Retrieves the well-known org metadata, which includes the id, configured custom domains, authentication pipeline, and various other org settings.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.OrgSettingApi(configuration);
let body:any = {};
apiInstance.wellknownOrgMetadata(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
This endpoint does not need any parameter.
WellKnownOrgMetadata
No authorization required
| Status code | Description | Response headers | |————-|————-|——————| 200 | Success | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]