Skip to main content

RemoveDeselectSrc

July 21, 2025

This API allows you to remove deselected source 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% > Source

URL

https://CBS.EXAMPLE.COM/obs/api/json/RemoveDeselectSrc.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.
Src String or Array of String Special characters for JAVA must be escaped, for example, "\" must be replaced with: "\\".
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".
Examples

Example 1: Input (Single String)

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"Src":"C:\\New2"
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Input (Array of String)

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"Src":["Src":"C:\\New2", "Src":"C:\\New1"]
}

OUTPUT

{
	"Status":"OK"
}