Clone graph

Clone a user or group graph.

Request

Clone graph request
source_graph_idstringOptional
source_graph_id is the ID of the graph to be cloned. Required if source_user_id is not provided
source_user_idstringOptional
user_id of the user whose graph is being cloned. Required if source_graph_id is not provided
target_graph_idstringOptional
target_graph_id is the ID to be set on the cloned graph. Must not point to an existing graph. Required if target_user_id is not provided.
target_user_idstringOptional
user_id to be set on the cloned user. Must not point to an existing user. Required if target_graph_id is not provided.

Response

Response object containing graph_id or user_id pointing to the new graph

graph_idstring
graph_id is the ID of the cloned graph
task_idstring
Task ID of the clone graph task
user_idstring

Errors

400
Bad Request Error
500
Internal Server Error