Skip to main content

access

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

Overview

Nameaccess
TypeResource
Idcloudflare.zero_trust.access

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
update_make_reusableexecapp_id, policy_id, account_idConverts an application-scoped policy to a reusable policy. The policy will no longer be exclusively scoped to the application. Further updates to the policy should go through the /accounts/{account_id}/policies/{uid} endpoint.
update_seatsexecaccount_idRemoves a user from a Zero Trust seat when both access_seat and gateway_seat are set to false.

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.
app_idstringThe Access application ID.
policy_idstringThe Access policy ID.

Lifecycle Methods

Converts an application-scoped policy to a reusable policy. The policy will no longer be exclusively scoped to the application. Further updates to the policy should go through the /accounts/{account_id}/policies/{uid} endpoint.

EXEC cloudflare.zero_trust.access.update_make_reusable
@app_id='{{ app_id }}' --required,
@policy_id='{{ policy_id }}' --required,
@account_id='{{ account_id }}' --required
;