access
Creates, updates, deletes, gets or lists an access resource.
Overview
| Name | access |
| Type | Resource |
| Id | cloudflare.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update_make_reusable | exec | app_id, policy_id, account_id | 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. | |
update_seats | exec | account_id | Removes 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
app_id | string | The Access application ID. |
policy_id | string | The Access policy ID. |
Lifecycle Methods
- update_make_reusable
- update_seats
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
;
Removes a user from a Zero Trust seat when both access_seat and gateway_seat are set to false.
EXEC cloudflare.zero_trust.access.update_seats
@account_id='{{ account_id }}' --required
;