integrations
Creates, updates, deletes, gets or lists an integrations resource.
Overview
| Name | integrations |
| Type | Resource |
| Id | cloudflare.zero_trust.integrations |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
edit | update | integration_id, account_id | Updates a configured device posture integration. | |
update | replace | account_id, integration_id, tenant_url, active | Overwrite the reference_id, tenant_url, and active values with the ones provided. |
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 |
|---|---|---|
account_id | string | The Cloudflare account ID. |
integration_id | string (uuid) |
UPDATE examples
- edit
Updates a configured device posture integration.
UPDATE cloudflare.zero_trust.integrations
SET
config = '{{ config }}',
interval = '{{ interval }}',
name = '{{ name }}',
type = '{{ type }}'
WHERE
integration_id = '{{ integration_id }}' --required
AND account_id = '{{ account_id }}' --required
RETURNING
errors,
messages,
result,
success;
REPLACE examples
- update
Overwrite the reference_id, tenant_url, and active values with the ones provided.
REPLACE cloudflare.zero_trust.integrations
SET
active = {{ active }},
reference_id = '{{ reference_id }}',
tenant_url = '{{ tenant_url }}'
WHERE
account_id = '{{ account_id }}' --required
AND integration_id = '{{ integration_id }}' --required
AND tenant_url = '{{ tenant_url }}' --required
AND active = {{ active }} --required
RETURNING
errors,
messages,
result,
success;