PATCH
/
workflows
/
{workflow_id}
curl -X PATCH \
  -H 'Authorization: Bearer $API_KEY' \
  -H 'x-api-key: $API_KEY' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -d '{"name": "Updated Workflow #4", "team_id": "41480ee5-14ff-4f9e-89bf-91b0a8e50e77", "owner_id": "ab7dafe2-4f19-4570-bad0-a88e70ad2c11", "is_external": false, "canvas_type": 0}' \
  '$BASE_URL/workflows/$workflow_id'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "Updated Workflow #4",
  "team_id": "41480ee5-14ff-4f9e-89bf-91b0a8e50e77",
  "owner_id": "ab7dafe2-4f19-4570-bad0-a88e70ad2c11",
  "canvas_type": 0,
  "is_external": false
}

Headers

x-api-key
string
required

Your API key. This is required by most endpoints to access the API programmatically. You can view your x-api-key using the 'Profile' tab on the website.

Authorization
string
required

Bearer token for authentication (JWT).

Path Parameters

workflow_id
string
required

The UUID of the workflow to update.

Body

application/json

JSON fields to update on the specified workflow.

The body is of type object.

Response

200
application/json

Successfully updated workflow. Returns the updated workflow JSON.

The response is of type object.