Skip to main content

DeleteUserFromUserGroup

July 21, 2025

This API allows you to delete a users in a user group.

The settings can be found on the AhsayCBS web console at:

  • Backup / Restore > Users, Groups & Policies > Backup User > % User Name % > User Profile > User Group

URL

https://CBS.EXAMPLE.COM/obs/api/json/DeleteUserFromUserGroup.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.
ID String ID of the user group.
UserIdList String Multiple login names, separated by commas, are accepted. For example: user1, user2, user3.
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":"api_user",
	"SysPwd":"qWeRtY123456",
	"UserGroupID":"1497233669967",
	"UserIdList":"1497233409042, 1496977596356"
}

OUTPUT 1

{
	"Status":"OK"
}

OUTPUT 2 - User does not exist

{
	"Status":"Error",
	"Message":"[UserCacheManager.NoSuchUserExpt] User ‘1497233409042’ not found.",
	"ExptType":"com.ahsay.obs.core.dbs.Y"
}