Skip to main content
PATCH
/
v1
/
projects
/
{projectId}
/
pathway
/
edges
/
{edgeId}
Update edge
curl --request PATCH \
  --url https://api.pathors.com/v1/projects/{projectId}/pathway/edges/{edgeId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source": "<string>",
  "target": "<string>",
  "condition": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "source": "<string>",
    "target": "<string>",
    "data": {
      "condition": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Developer key created from the dashboard (Settings → Developer Keys)

Path Parameters

projectId
string
required

The ID of your project

edgeId
string
required

The edge ID

Body

application/json
source
string
target
string
condition
string

Response

OK

data
object
required