RemoveAllowedIP
July 21, 2025
This API allows you to remove an IP range from the allowed IP list. Users whose IP is not in the allowed IP list are not able to perform restore in their computers.
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% > IP Allowed for Restore
URL
https://CBS.EXAMPLE.COM/obs/api/json/RemoveAllowedIP.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. |
AllowedIP | AllowedIPBean | ID of allowed IP to be removed. |
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":"1687501131522",
"AllowedIP":"1687501909703"
}
OUTPUT
{
"Status":"OK"
}