Skip to main content

permission_groups

Creates, updates, deletes, gets or lists a permission_groups resource.

Overview

Namepermission_groups
TypeResource
Idcloudflare.iam.permission_groups

Fields

The following fields are returned by SELECT queries:

Permission Group Details response

NameDatatypeDescription
idstringIdentifier of the permission group. (example: 6d7f2f5f5b1d4a0e9081fdc98d432fd1)
namestringName of the permission group. (example: Load Balancer)
metaobjectAttributes associated to the permission group.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectaccount_id, permission_group_idGet information about a specific permission group in an account.
listselectaccount_idid, name, label, page, per_pageList all the permissions groups for an account.

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.
permission_group_idstring
idstring
labelstring
namestring
pagenumber
per_pagenumber

SELECT examples

Get information about a specific permission group in an account.

SELECT
id,
name,
meta
FROM cloudflare.iam.permission_groups
WHERE account_id = '{{ account_id }}' -- required
AND permission_group_id = '{{ permission_group_id }}' -- required
;