Skip to content

Register a new GraphID

PUT
/graph/v1
curl --request PUT \
--url https://example.com/graph/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "graph_id": "00000000-0000-0000-0000-000000000000", "name": "First Graph", "parent_id": "00000000-0000-0000-0000-000000000011" }'

Register a new GraphID

Media type application/json
object
graph_id
required
string
Example
00000000-0000-0000-0000-000000000000
name
required
string
Example
First Graph
parent_id
string
nullable
Example
00000000-0000-0000-0000-000000000011

New graph registered

Parent graph does not exist

Graph was already registered