POST /accounts/{account_id}/cloudforce-one/rules/structured/approvals/{id}/resubmit

Validates and compiles a complete structured email rule, then creates an immutable pending revision of its rejected approval.

Servers

Path parameters

Name Type Required Description
id String Yes

The unique identifier for the approval.

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"

Query parameters

Name Type Required Description
module String No

Structured rule module.

Valid values:

  • "eml"

Default value: "eml"

Request body fields

Name Type Required Description
strings[] Array No
strings[].modifiers[] Array No
strings[].match_type String No

Valid values:

  • "text"
  • "hex"
  • "regex"

Default value: "text"

strings[].identifier String Yes
strings[].type String Yes

Valid values:

  • "string_match"
strings[].value String Yes
name String Yes
description String No
condition Object Yes

Nested condition groups support up to 10 levels of depth.

condition.operator String Yes

Valid values:

  • "and"
  • "or"
condition.conditions[] Array Yes
condition.type String Yes

Valid values:

  • "group"
enabled Boolean No

Default value: true

meta[] Array No
meta[].key String Yes
meta[].value Yes

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.