All URIs are relative to https://subdomain.okta.com
Method | HTTP request | Description |
---|---|---|
addLinkedObjectDefinition | POST /api/v1/meta/schemas/user/linkedObjects | Create a Linked Object Definition |
deleteLinkedObjectDefinition | DELETE /api/v1/meta/schemas/user/linkedObjects/{linkedObjectName} | Delete a Linked Object Definition |
getLinkedObjectDefinition | GET /api/v1/meta/schemas/user/linkedObjects/{linkedObjectName} | Retrieve a Linked Object Definition |
listLinkedObjectDefinitions | GET /api/v1/meta/schemas/user/linkedObjects | List all Linked Object Definitions |
LinkedObject addLinkedObjectDefinition(linkedObject)
Success
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.LinkedObjectApi(configuration);
let body:okta.LinkedObjectApiAddLinkedObjectDefinitionRequest = {
// LinkedObject
linkedObject: {
associated: {
description: "description_example",
name: "name_example",
title: "title_example",
type: "USER",
},
primary: {
description: "description_example",
name: "name_example",
title: "title_example",
type: "USER",
},
},
};
apiInstance.addLinkedObjectDefinition(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
linkedObject | LinkedObject |
LinkedObject
| 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]
void deleteLinkedObjectDefinition()
Success
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.LinkedObjectApi(configuration);
let body:okta.LinkedObjectApiDeleteLinkedObjectDefinitionRequest = {
// string
linkedObjectName: "linkedObjectName_example",
};
apiInstance.deleteLinkedObjectDefinition(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
linkedObjectName | [string] | defaults to undefined |
void
| Status code | Description | Response headers | |————-|————-|——————| 204 | No Content | - | 403 | Forbidden | - | 404 | Not Found | - | 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LinkedObject getLinkedObjectDefinition()
Success
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.LinkedObjectApi(configuration);
let body:okta.LinkedObjectApiGetLinkedObjectDefinitionRequest = {
// string
linkedObjectName: "linkedObjectName_example",
};
apiInstance.getLinkedObjectDefinition(body).then((data:any) => {
console.log('API called successfully. Returned data: ' + data);
}).catch((error:any) => console.error(error));
Name | Type | Description | Notes |
---|---|---|---|
linkedObjectName | [string] | defaults to undefined |
LinkedObject
| 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
listLinkedObjectDefinitions()
Success
import { okta } from '@okta/okta-sdk-nodejs';
import * as fs from 'fs';
const configuration = okta.createConfiguration();
const apiInstance = new okta.LinkedObjectApi(configuration);
let body:any = {};
apiInstance.listLinkedObjectDefinitions(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]