# Get All Plugin Tenants

`GET /api/plugin-tenants`

Retrieves all plugin tenant relationships with optional filtering by various criteria

Authentication: no security requirement declared for this operation.

Parameters:

- `pluginId` (query, string, optional) - Plugin ID to filter by
  Type: string

- `tenantId` (query, string, optional) - Tenant ID to filter by
  Type: string

- `organizationId` (query, string, optional) - Organization ID to filter by
  Type: string

- `enabled` (query, boolean, optional) - Filter by enabled status
  Type: boolean

- `scope` (query, string, optional) - Filter by scope
  Type: string
  
  enum: ["tenant","organization","user"]

- `isMandatory` (query, boolean, optional) - Filter by mandatory status
  Type: boolean

- `isDataCompliant` (query, boolean, optional) - Filter by data compliance status
  Type: boolean

- `isApproved` (query, boolean, optional) - Filter by approval status
  Type: boolean

Responses:

- 200: Plugin tenants retrieved successfully

Content type: application/json

Type: array

Items:
  Type: object

## Examples

### cURL

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

### JavaScript

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

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

### Python

```python
import requests

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