You can use Junos Space Network Management Platform to delete the scripts that you import into the Junos Space server. When you delete a script, all versions of that script and the checksum verification results associated with that script are deleted.
To delete scripts from the Junos Space server:
On the Junos Space Platform UI, select Images and Scripts > Scripts.
The Scripts page appears, displaying the scripts that you imported into Junos Space Platform.
Select the scripts that you want to delete.
Only the scripts that are not associated with any of the devices can be deleted. You must remove scripts from the device before deleting the scripts from Junos Space Platform. When you delete a script, all versions of that script and the checksum verification results associated with that script are deleted.
Click the Delete Scripts icon.
If you have not removed scripts from the device before deleting the scripts from Junos Space Platform, you receive an action failure message.
The Delete Device Scripts dialog box appears, listing the scripts that you chose for deletion.
Click Confirm on the Delete Device Scripts dialog box.
The selected scripts are deleted and the Jobs dialog box displays a job ID link. You can click the link to view the status of the delete operation on the Job Management page.
If the deletion of the script fails, you can identify the reason for failure by double-clicking the row containing the job on the Job Management page. The Job Details page appears and displays the reason for failure in the Description column. However, if the script is deleted successfully, then the Job Details page displays the following information in this column:
Script deleted successfully
The Job Details page supports sorting of data in all columns in ascending or descending order.
You can select Images and Scripts > Scripts on the left pane of the Junos Space GUI to return to the Scripts page.