IAM
iam
IAM
Permission Groups
iam.permission_groups
Methods
Permission Group Details -> { id, meta, name }
get/accounts/{account_id}/iam/permission_groups/{permission_group_id}
Get information about a specific permission group in an account.
List Account Permission Groups -> V4PagePaginationArray<{ id, meta, name }>
get/accounts/{account_id}/iam/permission_groups
List all the permissions groups for an account.
IAM
Resource Groups
iam.resource_groups
Methods
Create Resource Group -> { id, meta, scope }
post/accounts/{account_id}/iam/resource_groups
Create a new Resource Group under the specified account.
Remove Resource Group -> Envelope<{ id }>
delete/accounts/{account_id}/iam/resource_groups/{resource_group_id}
Remove a resource group from an account.
Security
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Accepted Permissions (at least one required)
SCIM Provisioning Account Settings Write
Parameters
account_id: string
(maxLength: 32)Account identifier tag.
resource_group_id: string
(maxLength: 32)Resource Group identifier tag.
Response fields
success: true
Whether the API call was successful
result: { id }
Optional
Request example
200Example
Resource Group Details -> { id, scope, meta, 1 more... }
get/accounts/{account_id}/iam/resource_groups/{resource_group_id}
Get information about a specific resource group in an account.
List Resource Groups -> V4PagePaginationArray<{ id, scope, meta, 1 more... }>
get/accounts/{account_id}/iam/resource_groups
List all the resource groups for an account.
Update Resource Group -> { id, scope, meta, 1 more... }
put/accounts/{account_id}/iam/resource_groups/{resource_group_id}
Modify an existing resource group.