GET Extensions Scripts ID
The GET /Extensions/Scripts/{id} method is used to return the details of the script that matches the provided ID. This method returns HTTP 200 OK on a success with details of the specified script record.
Table 426: GET Extensions Scripts {id} Input Parameters
Name | In | Description |
---|---|---|
id | Path | Required.
An integer indicating the Keyfactor Command
reference ID for the script to be retrieved.
Use the GET /Extensions/Scripts method (see GET Extensions Scripts) to retrieve a list of all the scripts to determine the ID. |
Table 427: GET Extensions Scripts {id} Response Data
Name | Description |
---|---|
id | An integer indicating the Keyfactor Command reference ID for the script. |
Name | A string indicating the user-defined name of the script. The name of a script cannot be changed once posted. |
Contents |
A JSON-escaped string containing the contents of the script on a single line. |
Categories |
An array of either integers or case-sensitive strings indicating which category or categories the script applies to. The category of a script cannot be changed if it is in use in any alerts or workflows of that category. |


