Skip to main content

domains

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

Overview

Namedomains
TypeResource
Idokta.brands.domains

Fields

The following fields are returned by SELECT queries:

Successfully returned the list of domains for the brand

NameDatatypeDescription
idstringUnique ID of the domain (example: OcDz6iRyjkaCTXkdo0g3)
_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.
brandIdstringThe ID number of the brand (example: bndul904tTZ6kWVhP0g3)
certificateSourceTypestringCertificate source type that indicates whether the certificate is provided by the user or Okta.
dnsRecordsarray
domainstringCustom domain name (example: login.example.com)
publicCertificateobjectCertificate metadata for the domain
validationStatusstringStatus of the domain (example: VERIFIED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_brand_domainsselectsubdomainLists all domains associated with a brand by brandId

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 domains associated with a brand by brandId

SELECT
id,
_links,
brandId,
certificateSourceType,
dnsRecords,
domain,
publicCertificate,
validationStatus
FROM okta.brands.domains
WHERE subdomain = '{{ subdomain }}' -- required
;