DELETE Extensions Scripts ID

The DELETE /Extensions/Scripts/{id} method is used to delete a script. Scripts cannot be deleted if configured for an alert or workflowClosed. This endpointClosed returns 204 with no content upon success.

Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/scripts/modify/

Table 443: DELETE Extensions Scripts Input Parameters

Name In Description
id Path Required. In integer indicating the Keyfactor Command reference ID for the script to be deleted.

Use the GET /Extensions/Scripts method (see GET Extensions Scripts) to retrieve a list of all the scripts to determine the ID.

Tip:  See the Keyfactor API Reference and Utility which provides a utility through which the Keyfactor APIClosed endpoints can be called and results returned. It is intended to be used primarily for validation, testing and workflow development. It also serves secondarily as documentation for the API. The link to the Keyfactor API Reference and Utility is in the dropdown from the help icon () at the top of the Management Portal page next to the Log Out button.