POST
/{orgId}/admin/{itemId}/upgradeUpgrade an outdated Workflow Manager item. Workflow item upgrades can only be performed by the item owner with the Workflow Manager Advanced Administrator privilege or the Portal Admin Update Content privilege.
Query parameters
| Name | Type | Required |
|---|---|---|
token | string¦null |
Body parameters
Supported content types: application/json
Type: CreateWorkflowItemParameters
| Name | Type | Required |
|---|---|---|
async | boolean |
Path parameters
| Name | Type | Required |
|---|---|---|
org | string | |
item | string |
Response status
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | The item upgrade status of the item being upgraded | CreateItemResponse |
| 400 | Bad Request | error | WorkflowJsonExceptionDTO |
Examples
Request
# You can also use wget
curl -X POST /{orgId}/admin/{itemId}/upgrade \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
--data '{"async":true}'Response
{
"success": true,
"itemId": "string",
"status": "Executing",
"error": {
"message": "string",
"name": "UnableToDetermineHostingServer",
"details": [
"string"
]
}
}