# GET /api/organization-team/{id}

Authentication (security requirement alternatives):

```json
[
  {
    "bearer": []
  }
]
```

- bearer: http (bearer), header JWT. Enter JWT token

Parameters:

- `tenant` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `tenantId` (query, string, optional)
  Type: string

- `organization` (query, object, required)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `organizationId` (query, string, required)
  Type: string

- `startDate` (query, string, date-time, optional)
  Type: string, date-time

- `endDate` (query, string, date-time, optional)
  Type: string, date-time

- `relations` (query, array, optional)
  Type: array
  
  Items:
    Type: string

- `withLastWorkedTask` (query, boolean, optional)
  Type: boolean
  
  default: false

- `id` (path, string, required)
  Type: string

Responses:

- 200: 

- 401: Unauthorized

- 403: Forbidden

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/organization-team/string?organizationId=string&withLastWorkedTask=false' \
  -H 'Authorization: Bearer YOUR_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/organization-team/string?organizationId=string&withLastWorkedTask=false', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
  },
});

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

### Python

```python
import requests

response = requests.get(
    'http://localhost:3000/api/organization-team/string?organizationId=string&withLastWorkedTask=false',
    headers={
        'Authorization': 'Bearer YOUR_TOKEN',
    },
)
print(response.text)
```
