# ExternalTenantsByEmployerId Get available external tenants (employer scope) __Activity name:__ GetExternalTenantsByEmployerId Get a list of external tenants that are available within the scope of this employer. An external tenant may be registered for a Loket user, and may be used to login to Loket using Azure Active Directory. Select loket.nl (REST) API URL: /providers/employers/{employerId}/externaltenants Insert loket.nl (REST) API URL: /providers/employers/{employerId}/externaltenants Update loket.nl (REST) API URL: /providers/employers/{employerId}/externaltenants Delete loket.nl (REST) API URL: /providers/employers/{employerId}/externaltenants Select loket.nl (REST) API Operation: get /providers/employers/{employerId}/externaltenants - Catalog: `LoketNlRest` - Schema: `ExternalTenant` - Field Selection Method: NotRequired - Base Path: `_embedded[*]` 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 | ## Columns of Table Function The columns of the table function `ExternalTenantsByEmployerId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `externalId` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `name` | `string(28)` | | ☐ | The user-friendly name of the external tenant |