HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

Clone Policy configurations by UUID

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Policy clone properties.

Clone/Copy a list of policies, based on "remove_enforcers" and "reversed", as follows:

"remove_enforcers" = True, "reverse" = False:
Create a copy of the policy, removing all enforcers.

"remove_enforcers" = True, "reverse" = True:
Create a copy of the policy, and reverse the direction on all enforcers. Also, all directional attributes in all rules that have a source and destination are reversed. That means for each rule, a new rule is created with the source and destination endpoint groups reversed, and (for ACL Policy type only) the source and destination ports of all qualifiers are reversed (creating new qualifiers if necessary).

"remove_enforcers" = False, "reverse" = True:
Create a copy of the policy, removing all enforcers. Also, all directional attributes in all rules that have a source and destination are reversed. That means for each rule, a new rule is created with the source and destination endpoint groups reversed, and (for ACL Policy types only) the source and destination ports of all qualifiers are reversed (creating new qualifiers if necessary).

"remove_enforcers" = False, "reverse" = False:
This is not valid, and will return an error.

policies
array of strings
required
length ≥ 1

A list of policy UUIDs to clone

policies*

UUID

boolean
required
boolean
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json; version=1.0