Skip to main content

permission_groups

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

Overview

Namepermission_groups
TypeResource
Idcloudflare.user.permission_groups

Fields

The following fields are returned by SELECT queries:

List Token Permission Groups response

NameDatatypeDescription
idstringPublic ID.
namestringPermission Group Name
scopesarrayResources to which the Permission Group is scoped

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectname, scopeFind all available permission groups for API Tokens.

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
namestringFilter by the name of the permission group. The value must be URL-encoded.
scopestringFilter by the scope of the permission group. The value must be URL-encoded.

SELECT examples

Find all available permission groups for API Tokens.

SELECT
id,
name,
scopes
FROM cloudflare.user.permission_groups
WHERE name = '{{ name }}'
AND scope = '{{ scope }}'
;