Skip to main content

integrations

Creates, updates, deletes, gets or lists an integrations resource.

Overview

Nameintegrations
TypeResource
Idcloudflare.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:

NameAccessible byRequired ParamsOptional ParamsDescription
editupdateintegration_id, account_idUpdates a configured device posture integration.
updatereplaceaccount_id, integration_id, tenant_url, activeOverwrite 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
integration_idstring (uuid)

UPDATE examples

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

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;