GET /api/users/{id}/removeuserfromaccessgroupname/{accessgroupname}
Removes user from access group
Description
Removes a user from provided access group. Access group id must be defined in the system. Parameter {id} – AD Username Parameter {accessGroupName} – Websak access group name Return values: 200 OK, 500 + error message.
Parameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| id | path | User AD string identifier | true | string |
| accessGroupName | path | Access group id | true | string |
| lookupField | query | Lookup field. Field to use when finding user. Possible values: Id (default), gidid and Code. | string |
Responses
| Code | Returns | Type |
|---|---|---|
| 200 | OK | |
| 500 | Internal Server Error | |
| 401 | Unauthorized - Missing or invalid access token | |
| 403 | Forbidden - Provided access token does not permit usage of this API or data |