--- title: "system.secsgem.deleteToolProgram" description: "Deletes a process program from the Gateway." --- # system.secsgem.deleteToolProgram > Deletes a process program from the Gateway. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions [Permission Type](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties): SECS/GEM Management Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when called in the Gateway scope. ## Syntax `system.secsgem.deleteToolProgram(ppid)` ### Parameters Type | Parameter | Description ------- | ------- | ------ String | `ppid` | The PPID that was sent from the tool when the S7F3 message was saved. ### Returns Nothing ### Scope Vision Client ## Code Examples ```python title="Code Snippet" # Name of the Tool Program that will be deleted targetProgram = "Old Program" system.secsgem.deleteToolProgram(targetProgram) ```