curl --request POST \
--url https://api.kadoa.com/v4/templates/{templateId}/apply \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"targetVersion": 2,
"workflowIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"error": false,
"success": true,
"updatedCount": 123,
"workflowIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"controlledParts": {
"prompt": true,
"schema": true,
"notifications": true
}
}Apply a template version’s settings to linked workflows
curl --request POST \
--url https://api.kadoa.com/v4/templates/{templateId}/apply \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"targetVersion": 2,
"workflowIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"error": false,
"success": true,
"updatedCount": 123,
"workflowIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"controlledParts": {
"prompt": true,
"schema": true,
"notifications": true
}
}API key for authentication
Template ID
Body
200
Response for template update application
Error flag (always false on success)
false Success flag
true Number of workflows updated
IDs of updated workflows
Which workflow parts were updated by this template version
Show child attributes