Clone a Patch Policy to a list of Zones/Organizations

Clone a Patch Policy to a list of Zones/Organizations

SecuritybearerAuth
Request
path Parameters
policyId
required
integer <int64>

ID of the specified policy. Note: The specified policy can only be a patch policy.

Request Body schema: application/json
target_zone_ids
required
Array of strings <uuid> [ 1 .. 500 ] items

The zone IDs of the target zones

Responses
201

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

post/policies/{policyId}/clone
Request samples
application/json
{
  • "target_zone_ids": [
    • "66d5a6fe-449e-4122-b4a6-a14fceaf1a62",
    • "880cdda6-90fd-4161-8e4d-28fe7d3c520b"
    ]
}
Response samples
application/json
{
  • "policy_name": "Clone of Patch All Policy",
  • "policy_type_name": "patch",
  • "data": [
    • {
      • "policy_id": 38421,
      • "zone_id": "59f574fe-04ec-4a38-ad96-1854fc95db20",
      • "org_id": 100343
      }
    ]
}