# PatchEmployerUserLinkedDepartmentsByEmployerIdAndUserId Link or unlink departments from an user. __Activity name:__ PatchEmployerUserLinkedDepartmentsByEmployerIdAndUserId This endpoint enables the user to link or unlink multiple 'linkages' with one call. Select loket.nl (REST) API URL: /providers/employers/{employerId}/users/{userId}/departments Insert loket.nl (REST) API URL: /providers/employers/{employerId}/users/{userId}/departments Update loket.nl (REST) API URL: /providers/employers/{employerId}/users/{userId}/departments Delete loket.nl (REST) API URL: /providers/employers/{employerId}/users/{userId}/departments Select loket.nl (REST) API Operation: patch /providers/employers/{employerId}/users/{userId}/departments - Catalog: `LoketNlRest` - Schema: `LinkedDepartments` - Field Selection Method: NotRequired - Base Path: `content` This is a read-only table function. The loket.nl (REST) API may not support changing the data or the Invantive SQL driver for loket.nl (REST) does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the loket.nl (REST) API. ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `employerId` | `guid` | ☑ | | The unique identifier of the employer | | `userId` | `guid` | ☑ | | The unique identifier of an user | ## Columns of Table Function The columns of the table function `PatchEmployerUserLinkedDepartmentsByEmployerIdAndUserId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `DUMMY` | `string(1)` | | ☑ | Default column added since the specification specifies that no data is returned. |