Clone graph

Clone a user or group graph.

Request

This endpoint expects an object.
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 group_id or user_id pointing to the new graph

graph_idstring or null

graph_id is the ID of the cloned graph

user_idstring or null

Errors