PATCH /zones/{zone_id}/cache/origin_cloud_regions/batch

Adds or updates up to 100 IP-to-cloud-region mappings in a single request. Each item is validated independently — valid items are applied and invalid items are returned in the failed array. The vendor and region for every item are validated against the list from GET /zones/{zone_id}/cache/origin_cloud_regions/supported_regions.

Servers

Path parameters

Name Type Required Description
zone_id String Yes

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
[] Array Yes
[].region String Yes

Cloud vendor region identifier. Must be a valid region for the specified vendor as returned by the supported_regions endpoint.

[].vendor String Yes

Cloud vendor hosting the origin. Must be one of the supported vendors.

Valid values:

  • "aws"
  • "oci"
  • "azure"
  • "gcp"
[].ip String Yes

Origin IP address (IPv4 or IPv6). Normalized to canonical form before storage (RFC 5952 for IPv6).

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.