POST /accounts/{account_id}/cloudforce-one/rules/structured/validate
Validates structured email rule syntax and metadata.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Cloudflare account ID. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
strings[] |
Array | No | |
strings[].modifiers[] |
Array | No | |
strings[].match_type |
String | No |
Valid values:
Default value: "text" |
strings[].identifier |
String | Yes | |
strings[].type |
String | Yes |
Valid values:
|
strings[].value |
String | Yes | |
name |
String | Yes | |
description |
String | No | |
existing_rule_id |
String | No |
Existing rule ID to exclude from duplicate-name checks when validating an update. |
condition |
Object | Yes |
Nested condition groups support up to 10 levels of depth. |
condition.operator |
String | Yes |
Valid values:
|
condition.conditions[] |
Array | Yes | |
condition.type |
String | Yes |
Valid values:
|
enabled |
Boolean | No |
Default value: true |
meta[] |
Array | No | |
meta[].key |
String | Yes | |
meta[].value |
Yes |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.