Skip to main content

brand_well_known_uris

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

Overview​

Namebrand_well_known_uris
TypeResource
Idokta.brands.brand_well_known_uris

Fields​

The following fields are returned by SELECT queries:

Successfully retrieved the customized well-known URI content

NameDatatypeDescription
_linksobjectSpecifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
representationstringThe well-known URI content in JSON format (opaque JSON object)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_brand_well_known_uriselectbrandId, path, subdomainRetrieves the customized content of a well-known URI for a specific brand and well-known URI path
replace_brand_well_known_urireplacebrandId, path, subdomain, representationReplaces the content of a customized well-known URI that you specify.

There are endpoint-specific format requirements when you update the content of a customized well-known URI. See Customize associated domains.

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
brandIdstringThe ID of the brand
pathstringThe path of the well-known URI
subdomainstring(default: my-org)

SELECT examples​

Retrieves the customized content of a well-known URI for a specific brand and well-known URI path

SELECT
_links,
representation
FROM okta.brands.brand_well_known_uris
WHERE brandId = '{{ brandId }}' -- required
AND path = '{{ path }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;

REPLACE examples​

Replaces the content of a customized well-known URI that you specify.

There are endpoint-specific format requirements when you update the content of a customized well-known URI. See Customize associated domains.

REPLACE okta.brands.brand_well_known_uris
SET
representation = '{{ representation }}'
WHERE
brandId = '{{ brandId }}' --required
AND path = '{{ path }}' --required
AND subdomain = '{{ subdomain }}' --required
AND representation = '{{ representation }}' --required
RETURNING
_links,
representation;