DeletePolicyGroupFromUserGroup
July 21, 2025
This API allows you to delete a policy group.
The settings can be found on the AhsayCBS web console at:
- Backup / Restore > Users, Groups & Policies > User Group > % User Group Name % > Assigned Policy
URL
https://CBS.EXAMPLE.COM/obs/api/json/DeletePolicyGroupFromUserGroup.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. |
UserGroupID | String | ID of the user group. |
PolicyGroupID | String | ID of the policy group. |
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",
"PolicyGroupID":"1497233409042"
}
OUTPUT 1
{
"Status":"OK"
}
OUTPUT 2 - Policy group does not exist
{
"Status":"Error",
"Message":"Policy group does not exist",
"ExptType":"org.json.JSONException"
}