Skip to main content
PUT
/
v1
/
projects
/
{projectId}
/
pathway
Replace Pathway
curl --request PUT \
  --url https://api.pathors.com/v1/projects/{projectId}/pathway \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nodes": [
    {}
  ],
  "edges": [
    {}
  ],
  "version": "<string>"
}
'

Request

PUT https://api.pathors.com/v1/projects/{projectId}/pathway
Replaces the entire pathway. For granular updates, use the Nodes and Edges endpoints instead.

Path Parameters

projectId
string
required
The project ID

Headers

Authorization
string
required
Bearer token using your developer key

Body

nodes
array
required
Array of pathway nodes. Must contain at least one start node.
edges
array
required
Array of edges connecting nodes.
version
string
required
Pathway version string.

Response

{
  "message": "Pathway saved"
}