Further documentation.
Javascript example:
var snapshotId = fields.SNAPSHOT_ID.value; try { system.snapshotManager.removeSnapshot(snapshotId); } catch(e) { log("Error removing snapshot: " + e); }
returns boolean
Further documentation.
Javascript example: