Description: Deletes the specified lifecycle template. A template can be deleted only if it isn't being referenced by an existing policy rule.
Permission: Manage policies
Usage: DELETE https://{{artifactory-host}}/unifiedpolicy/api/v1/templates/{templateId}
Consumes: application/json
Path Parameters:
Parameter | Type | Required | Description |
|---|---|---|---|
| string | yes | Unique identifier of the template. |
Status Codes:
Code | Description |
|---|---|
204 | Template deleted successfully |
401 | Unauthorized |
403 | Forbidden |
404 | Template not found |
409 | Conflict (template is still referenced by a rule) |
500 | Internal server error |