[POST] .../v1/usergrouprole/remove
Deletes role at group. Use this destructive method to remove one role assignment from a user group. The method validates the assignment id, checks group-role remove permission 16 for the current request user, deletes the assignment through the persistent layer and returns row_affected. The request body is required and id must be the positive assignment id returned by UserGroupRole/Get. Missing body, invalid id, denied permission, already removed records and database errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | Int64 | Required | Group role ID. |
Request Example
{
"id": 61
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Update | Update operation result. |
Response Example
{
"ok": true,
"result": {
"row_affected": 1,
"ids": []
}
}