All URIs are relative to https://subdomain.okta.com
Method | HTTP request | Description |
---|---|---|
getProfileMapping | GET /api/v1/mappings/{mappingId} | Retrieve a Profile Mapping |
listProfileMappings | GET /api/v1/mappings | List all Profile Mappings |
updateProfileMapping | POST /api/v1/mappings/{mappingId} | Update a Profile Mapping |
ProfileMapping getProfileMapping()
Fetches a single Profile Mapping referenced by its ID.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.ProfileMappingApi(configuration);
let body:okta.ProfileMappingApiGetProfileMappingRequest = {
// string
mappingId: "mappingId_example",
};
apiInstance.getProfileMapping(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
mappingId | [string] | defaults to undefined |
ProfileMapping
| 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]
Array
listProfileMappings()
Enumerates Profile Mappings in your organization with pagination.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.ProfileMappingApi(configuration);
let body:okta.ProfileMappingApiListProfileMappingsRequest = {
// string (optional)
after: "after_example",
// number (optional)
limit: -1,
// string (optional)
sourceId: "sourceId_example",
// string (optional)
targetId: "",
};
apiInstance.listProfileMappings(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
after | [string] | (optional) defaults to undefined | |
limit | [number] | (optional) defaults to -1 | |
sourceId | [string] | (optional) defaults to undefined | |
targetId | [string] | (optional) defaults to ‘’ |
**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]
ProfileMapping updateProfileMapping(profileMapping)
Updates an existing Profile Mapping by adding, updating, or removing one or many Property Mappings.
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.ProfileMappingApi(configuration);
let body:okta.ProfileMappingApiUpdateProfileMappingRequest = {
// string
mappingId: "mappingId_example",
// ProfileMapping
profileMapping: {
source: {
},
target: {
},
},
};
apiInstance.updateProfileMapping(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
profileMapping | ProfileMapping | ||
mappingId | [string] | defaults to undefined |
ProfileMapping
| 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]