[v10] RemovePreCommand
 October 14, 2025
    
            This API can be used to remove a pre-backup command from a backup set.
The settings can be found on the AhsayCBS web console at:
- Backup / Restore > Users, Groups & Policies > Backup User > %User Name% Backup Set > %Backup Set Name% > Command Line Tool
URL
https://CBS.EXAMPLE.COM/obs/api/json/RemovePreCommand.do
Available Since Version: 9.1
Parameters
| Key | Type | Description | 
|---|---|---|
| SysUser | String | Username of an AhsayCBS System User with Admin or API role. | 
| SysPwd | String | Password matching SysUser. | 
| LoginName | String | Username of the backup user. | 
| BackupSetID | String | ID of the backup set. Obtainable in ListBackupSets API. | 
| ID | Long | ID of the command. Obtainable in GetBackupSet API. | 
Return Values
| Key | Type | Description | 
|---|---|---|
| Status | String | "OK" or "Error" | 
| Message | String | Error message, it only appears if status displays "Error". | 
| ExptType | String | The type of exception, will only be displayed if the status is "Error". | 
Example
INPUT
{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687755342349"
}
OUTPUT
{
	"Status":"OK"
}
