Clones the staging, production, and last modified versions of a non-shared (API v2) or shared policy into a new shared policy. You can also specify any additional versions that you want to clone into the new shared policy. The policy ID is required. If you don't already have the policy ID, use List shared policies or List policies and note the id or policyId value. When cloning a non-shared policy to a shared policy, a group ID (groupId) is required. Policies created using API v2 do not require a groupId, so the non-shared policy that you are cloning may or may not have this data member. If the policy you are cloning doesn’t have a groupId, assign one while performing this operation. To check if the non-shared policy has a groupId, see List policies.

Language
URL
Click Try It! to start a request and see the response here!