GET /api/users/{id}/removeuseraspostdistributor/{orgunitid}
Removes user from the department mail distribution group.
Parameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| id | path | User identifier value for lookupField (lookupField=Id uses GID id (gid_gidid) or login (Gid_Loginn)). | true | string |
| orgUnitId | path | Department external id (gid_div1). The department must have a post distribution group (soa_postfordelergruppe). | 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 | |
| 401 | Unauthorized - Missing or invalid access token | |
| 403 | Forbidden - Provided access token does not permit usage of this API or data | |
| 500 | Internal Server Error |