PUT
/
v4
/
workflows
/
{workflowId}
/
metadata
curl --request PUT \
  --url https://api.kadoa.com/v4/workflows/{workflowId}/metadata \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "limit": 123,
  "updateInterval": "ONLY_ONCE",
  "schedules": [
    "<string>"
  ],
  "name": "<string>",
  "tags": [
    "tag1",
    "tag2"
  ],
  "location": {
    "type": "auto",
    "isoCode": "<string>"
  },
  "monitoring": {
    "enabled": true,
    "fields": [
      {
        "fieldName": "<string>",
        "operator": "changed"
      }
    ],
    "channels": [
      {
        "type": "EMAIL",
        "emails": [
          "<string>"
        ]
      }
    ],
    "conditions": {
      "logicalOperator": "AND",
      "conditions": [
        {
          "type": "SINGLE",
          "field": "<string>",
          "operator": "<string>",
          "value": "<string>"
        }
      ]
    }
  }
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

workflowId
string
required

ID of the workflow to update

Body

application/json
limit
integer

The new limit for the workflow

updateInterval
enum<string>

The new update interval for the workflow

Available options:
ONLY_ONCE,
HOURLY,
DAILY,
WEEKLY,
MONTHLY,
CUSTOM
schedules
string[]

Array of cron expressions for the workflow schedule

name
string

The new name for the workflow

tags
string[]

The tags for the workflow

Example:
["tag1", "tag2"]
location
object

The new location for the workflow

monitoring
object

The new monitoring config for the workflow

Response

200
application/json
Workflow metadata updated successfully
success
boolean
message
string