DELETE
/{orgId}/{itemId}/templates/{templateType}/{templateId}Delete a template. The adminBasic or adminAdvanced privilege is required.
Request:
| Parameter | Description | Data Type |
|---|---|---|
| templateId | Required. The ID of the template to be deleted. | String |
| templateType | Required. The type of the template to be deleted. | String |
Query parameters
| Name | Type | Required |
|---|---|---|
token | string¦null |
Path parameters
| Name | Type | Required |
|---|---|---|
template | string | |
template | string | |
org | string | |
item | string |
Response status
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | success | Success |
| 404 | Not Found | error | WorkflowExceptionDTO |
Examples
Request
# You can also use wget
curl -X DELETE /{orgId}/{itemId}/templates/{templateType}/{templateId} \
-H 'Authorization: Bearer <YOUR_TOKEN>'Response
{
"success": true
}