# Get Plugin Tenant Users

`GET /api/plugin-tenants/{id}/users`

Retrieves users assigned to a plugin tenant with their access type (allowed/denied)

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, required) - Plugin Tenant ID
  Type: string

- `type` (query, string, optional) - Type of users to retrieve
  Type: string
  
  enum: ["allowed","denied","all"]

- `skip` (query, number, optional) - Number of records to skip
  Type: number

- `take` (query, number, optional) - Number of records to take
  Type: number

- `searchTerm` (query, string, optional) - Search term for filtering users
  Type: string

Responses:

- 200: Users retrieved successfully

Content type: application/json

Type: object

- 404: Plugin tenant not found

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/plugin-tenants/string/users'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugin-tenants/string/users', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/plugin-tenants/string/users')
print(response.text)
```
