Skip to main content

linked_object_definitions

Creates, updates, deletes, gets or lists a linked_object_definitions resource.

Overview​

Namelinked_object_definitions
TypeResource
Idokta.meta.linked_object_definitions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobjectSpecifies link relations (see Web Linking) available for the current status of an application using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
associatedobject (title: LinkedObjectDetails)
primaryobject (title: LinkedObjectDetails)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_linked_object_definitionselectlinkedObjectName, subdomainRetrieves a Linked Object definition
list_linked_object_definitionsselectsubdomainLists all Linked Object definitions
create_linked_object_definitioninsertsubdomainCreates a Linked Object definition
delete_linked_object_definitiondeletelinkedObjectName, subdomainDeletes the Linked Object definition specified by either the primary or associated name. The entire definition is removed, regardless of which name that you specify.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
linkedObjectNamestringPrimary or Associated name
subdomainstring(default: my-org)

SELECT examples​

Retrieves a Linked Object definition

SELECT
_links,
associated,
primary
FROM okta.meta.linked_object_definitions
WHERE linkedObjectName = '{{ linkedObjectName }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;

INSERT examples​

Creates a Linked Object definition

INSERT INTO okta.meta.linked_object_definitions (
associated,
primary,
_links,
subdomain
)
SELECT
'{{ associated }}',
'{{ primary }}',
'{{ _links }}',
'{{ subdomain }}'
RETURNING
_links,
associated,
primary
;

DELETE examples​

Deletes the Linked Object definition specified by either the primary or associated name. The entire definition is removed, regardless of which name that you specify.

DELETE FROM okta.meta.linked_object_definitions
WHERE linkedObjectName = '{{ linkedObjectName }}' --required
AND subdomain = '{{ subdomain }}' --required
;