DELETE /api/v2/departmentsv2/external/{orgunitid}/post-distributors/{usergidid}
Removes user from the department mail distribution group.
Parameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| orgUnitId | path | Department external id (gid_div1). The department must have a post distribution group (soa_postfordelergruppe). | true | string |
| userGidId | path | User GID id (gid_gidid). | true | 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 | |
| 404 | Not Found | Microsoft.AspNetCore.Mvc.ProblemDetails |
| 500 | Internal Server Error |
PUT /api/v2/departmentsv2/external/{orgunitid}/post-distributors/{usergidid}
Adds user to the department mail distribution group if it exists.
Parameters
| Name | In | Description | Required | Type |
|---|---|---|---|---|
| orgUnitId | path | Department external id (gid_div1). The department must have a post distribution group (soa_postfordelergruppe). | true | string |
| userGidId | path | User GID id (gid_gidid). | true | 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 | |
| 404 | Not Found | Microsoft.AspNetCore.Mvc.ProblemDetails |
| 500 | Internal Server Error |