profile
Creates, updates, deletes, gets or lists a profile resource.
Overview
| Name | profile |
| Type | Resource |
| Id | cloudflare.iam.profile |
Fields
The following fields are returned by SELECT queries:
- list
The request has succeeded.
| Name | Datatype | Description |
|---|---|---|
business_name | string | |
business_address | string | |
business_email | string | |
business_phone | string | |
external_metadata | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | Retrieves the profile information for a specific Cloudflare account, including organization details, settings, and metadata. This endpoint is commonly used to verify account access and retrieve account-level configuration. | |
accounts_modify_account_profile | replace | account_id, business_name, business_email, business_phone, business_address, external_metadata | Updates the profile information for a Cloudflare account. Allows modification of account-level settings and organizational details. Requires Account Settings Write permission. |
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. |
SELECT examples
- list
Retrieves the profile information for a specific Cloudflare account, including organization details, settings, and metadata. This endpoint is commonly used to verify account access and retrieve account-level configuration.
SELECT
business_name,
business_address,
business_email,
business_phone,
external_metadata
FROM cloudflare.iam.profile
WHERE account_id = '{{ account_id }}' -- required
;
REPLACE examples
- accounts_modify_account_profile
Updates the profile information for a Cloudflare account. Allows modification of account-level settings and organizational details. Requires Account Settings Write permission.
REPLACE cloudflare.iam.profile
SET
business_address = '{{ business_address }}',
business_email = '{{ business_email }}',
business_name = '{{ business_name }}',
business_phone = '{{ business_phone }}',
external_metadata = '{{ external_metadata }}'
WHERE
account_id = '{{ account_id }}' --required
AND business_name = '{{ business_name }}' --required
AND business_email = '{{ business_email }}' --required
AND business_phone = '{{ business_phone }}' --required
AND business_address = '{{ business_address }}' --required
AND external_metadata = '{{ external_metadata }}' --required;