PHP Client for Cloudflare API
Iam

Permission Groups

Permission Groups endpoint reference.

List

List all the permissions groups for an account.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount identifier.
paramsarrayNo[]Array containing the necessary params, e.g. id, name, label.
php
$response = $client->iam()->permissionGroups()->list('ACCOUNT_ID', []);
View this operation on the Cloudflare API Reference

Get

Get information about a specific permission group in an account.

ParamTypeRequiredDefaultDescription
accountIdstringYesAccount identifier.
permissionGroupIdstringYesPermission Group identifier.
php
$response = $client->iam()->permissionGroups()->get('ACCOUNT_ID', 'PERMISSION_GROUP_ID');
View this operation on the Cloudflare API Reference
Copyright © 2026