opt_in_status
Creates, updates, deletes, gets or lists an opt_in_status resource.
Overview​
| Name | opt_in_status |
| Type | Resource |
| Id | okta.iam.opt_in_status |
Fields​
The following fields are returned by SELECT queries:
- get_opt_in_status
| Name | Datatype | Description |
|---|---|---|
_links | object | Link relations available |
optInStatus | string | The entitlement management opt-in status for the Admin Console (OPTING_IN, OPTED_IN, OPTING_OUT, OPTED_OUT) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_opt_in_status | select | subdomain | Retrieves the entitlement management opt-in status for the Admin Console | |
opt_in | exec | subdomain | Opts in the Admin Console to entitlement management | |
opt_out | exec | subdomain | Opts out the Admin Console from entitlement management |
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 |
|---|---|---|
subdomain | string | (default: my-org) |
SELECT examples​
- get_opt_in_status
Retrieves the entitlement management opt-in status for the Admin Console
SELECT
_links,
optInStatus
FROM okta.iam.opt_in_status
WHERE subdomain = '{{ subdomain }}' -- required
;
Lifecycle Methods​
- opt_in
- opt_out
Opts in the Admin Console to entitlement management
EXEC okta.iam.opt_in_status.opt_in
@subdomain='{{ subdomain }}' --required
;
Opts out the Admin Console from entitlement management
EXEC okta.iam.opt_in_status.opt_out
@subdomain='{{ subdomain }}' --required
;