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
list_linked_object_definitionsselectsubdomainLists all Linked Object definitions
get_linked_object_definitionselectsubdomainRetrieves a Linked Object definition
create_linked_object_definitioninsertsubdomainCreates a Linked Object definition
delete_linked_object_definitiondeletesubdomainDeletes 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
subdomainstringThe domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org)

SELECT examples

Lists all Linked Object definitions

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

INSERT examples

Creates a Linked Object definition

INSERT INTO okta.meta.linked_object_definitions (
data__associated,
data__primary,
data___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 subdomain = '{{ subdomain }}' --required
;