Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer

How to clone objects from cli

Jump to solution

Hello,

I've to duplicate some network groups objects, I have to keep the content but have 2 different names.

Is there a command to do it from cli?

I only found ho to add, delete or modify them.

 

Thank you!

0 Kudos
Reply
1 Solution

Accepted Solutions
Admin
Admin
Having two objects with the same IP/network is not considered best practice.
As such, there are no API commands to "clone" objects, thus no CLI commands for this.
In fact, if you create an object with the same IP/network as an existing object, the API will throw a warning that you must explictly send a parameter to ignore.

View solution in original post

1 Reply
Admin
Admin
Having two objects with the same IP/network is not considered best practice.
As such, there are no API commands to "clone" objects, thus no CLI commands for this.
In fact, if you create an object with the same IP/network as an existing object, the API will throw a warning that you must explictly send a parameter to ignore.

View solution in original post