support_cases
Creates, updates, deletes, gets or lists a support_cases resource.
Overview
| Name | support_cases |
| Type | Resource |
| Id | okta.org.support_cases |
Fields
The following fields are returned by SELECT queries:
- list_okta_support_cases
| Name | Datatype | Description |
|---|---|---|
supportCases | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_okta_support_cases | select | subdomain | Lists all Okta Support cases that the requesting principal has permission to view | |
update_okta_support_case | update | subdomain | Updates access to the org for an Okta Support case: * You can enable, disable, or extend access to your org for an Okta Support case. * You can approve Okta Support access to your org for self-assigned cases. A self-assigned case is created and assigned by the same Okta Support user. |
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 | The 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
- list_okta_support_cases
Lists all Okta Support cases that the requesting principal has permission to view
SELECT
supportCases
FROM okta.org.support_cases
WHERE subdomain = '{{ subdomain }}' -- required
;
UPDATE examples
- update_okta_support_case
Updates access to the org for an Okta Support case:
* You can enable, disable, or extend access to your org for an Okta Support case.
* You can approve Okta Support access to your org for self-assigned cases. A self-assigned case is created and assigned by the same Okta Support user.
UPDATE okta.org.support_cases
SET
data__impersonation = '{{ impersonation }}',
data__selfAssigned = '{{ selfAssigned }}'
WHERE
subdomain = '{{ subdomain }}' --required
RETURNING
caseNumber,
impersonation,
selfAssigned,
subject
;