PATCH
/
v1
/
trajectories
/
{trajectory_id}
Update Trajectory
curl --request PATCH \
  --url https://api.cyberdesk.io/v1/trajectories/{trajectory_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "trajectory_data": [
    {}
  ]
}'
{
  "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "trajectory_data": [
    {}
  ],
  "dimensions": {},
  "original_input_values": {},
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organization_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

trajectory_id
string<uuid>
required

Body

application/json

Schema for updating a trajectory

Response

200
application/json

Successful Response

Trajectory response schema