Delete a job template by jobTemplateId
Delete a job template by jobTemplateId. The deleted job template can be active, draft or retired. Job templates used by jobs in the system cannot be deleted. The adminBasic or adminAdvanced privilege is required.
Query parameters
Name | Type | Required |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X DELETE /{orgId}/{itemId}/jobTemplates/{jobTemplateId} \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"success": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| error |