Update template
Changed onPartially updates an approval template. Requires template management permissions.
Request
- Base URL: https://workfront.adobe.io/workfront-approvals
- URL: https://workfront.adobe.io/workfront-approvals/api/v1/templates/{templateId}
- Auth: HTTP bearer
Path parameters
The ID of the approval template
Headers
client_id of the Adobe Developer Console technical account. Identifies the calling integration to the AIO gateway.
Workfront customer subdomain (e.g. mycompany). Must match the subdomain of the Workfront instance being accessed. Passing an incorrect or unrecognized subdomain will result in a 502 Bad Gateway response from the AIO gateway.
Workfront customer ID.
Workfront user ID of the acting user.
Workfront deployment lane.
Unique identifier for request tracing. Auto-generated if not provided.
Unique identifier for correlation across multiple service calls. Auto-generated if not provided.
Request body
Example request
{
"name": "Test Template",
"stages": [
{
"stageId": "stage-1",
"name": "Stage 1",
"parentIds": [],
"triggers": [
{
"type": "activation",
"when": "onCreate"
}
],
"deadlineBusinessDays": 3,
"deadlineTimeOfDay": {
"hours": 17,
"minutes": 0
},
"participants": [
{
"participantId": "user-123",
"participantType": "USER",
"participantRole": "approver",
"participantMetadata": {}
}
]
},
{
"stageId": "stage-2",
"name": "Stage 2",
"parentIds": [
"stage-1"
],
"triggers": [
{
"type": "activation",
"when": "onStagesComplete",
"parameters": {
"stages": [
"stage-1"
],
"allowedDecisions": [
"approved"
]
}
}
],
"deadlineBusinessDays": 2,
"deadlineTimeOfDay": {
"hours": 12,
"minutes": 30
},
"participants": [
{
"participantId": "user-456",
"participantType": "USER",
"participantRole": "reviewer",
"participantMetadata": {}
}
]
}
],
"paths": []
}Response
OK
Example response
{
"templateId": "template-id",
"name": "Test Template",
"assetType": "DOCV",
"creatorId": "user-id",
"customerId": "customer-id",
"stages": [
{
"stageId": "stage-1",
"name": "Stage 1",
"deadlineBusinessDays": 3,
"deadlineTimeOfDay": {
"hours": 17,
"minutes": 0
},
"participants": [
{
"participantId": "user-123",
"participantType": "USER",
"participantRole": "approver",
"participantMetadata": {}
}
]
},
{
"stageId": "stage-2",
"name": "Stage 2",
"deadlineBusinessDays": 2,
"deadlineTimeOfDay": {
"hours": 12,
"minutes": 30
},
"participants": []
}
],
"structure": [
{
"stageId": "stage-1",
"parentIds": [],
"triggers": [
{
"type": "activation",
"when": "onCreate"
}
]
},
{
"stageId": "stage-2",
"parentIds": [
"stage-1"
],
"triggers": [
{
"type": "activation",
"when": "onStagesComplete",
"parameters": {
"stages": [
"stage-1"
],
"allowedDecisions": [
"approved"
]
}
}
]
}
],
"paths": [],
"usageCount": 0,
"createdAt": "2026-01-15T17:00:00.000Z",
"updatedAt": "2026-01-15T17:00:00.000Z"
}Changes
- breaking
removed the enum value
needs workof the request property//////// - breaking
removed the enum value
needs workof the request property////// - info
removed the
needs workenum value from the////////response property for the response status - info
removed the
needs workenum value from the//////response property for the response status
- breaking
- breaking
the response property
//////became optional for the status - breaking
the response property
////became optional for the status - warning
removed the request property
/////// - warning
removed the request property
///// - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
/////from the response with the status - info
the request property
//////became optional - info
the request property
////became optional
- breaking