domains
Creates, updates, deletes, gets or lists a domains resource.
Overview​
| Name | domains |
| Type | Resource |
| Id | okta.brands.domains |
Fields​
The following fields are returned by SELECT queries:
- list_brand_domains
Successfully returned the list of domains for the brand
| Name | Datatype | Description |
|---|---|---|
domains | array | Each element of the array defines an individual domain |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_brand_domains | select | brandId, subdomain | Lists 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.
| Name | Datatype | Description |
|---|---|---|
brandId | string | The ID of the brand |
subdomain | string | (default: my-org) |
SELECT examples​
- list_brand_domains
Lists all domains associated with a brand by brandId
SELECT
domains
FROM okta.brands.domains
WHERE brandId = '{{ brandId }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;