Skip to main content
PUT
/
v1
/
accounts
/
{accountId}
/
workflows
/
{workflowId}
/
edges
/
{edgeId}
Update an Edge for a version of the workflow
curl --request PUT \
  --url https://api.sakari.io/v1/accounts/{accountId}/workflows/{workflowId}/edges/{edgeId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "success": true,
  "data": {
    "id": "<string>",
    "type": "standard",
    "source": "<string>",
    "target": "<string>",
    "value": "<string>"
  }
}'
{
  "id": "<string>",
  "type": "standard",
  "source": "<string>",
  "target": "<string>",
  "value": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
string
required

Account to apply operations to

workflowId
string
required

Workflow to apply operations to

edgeId
string
required

Edge id for a version of a workflow

Body

application/json
success
boolean
required
data
object
required

Response

successful operation

id
string
required
type
enum<string>
required
Available options:
standard,
timeout,
error
source
string
required
target
string
value