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

Validate, compile, and replace the proposed structured email rule on a pending approval. Only the original requester may update it.

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 No
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.