> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slog.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Teams

# Teams

Teams are the top-level organizational unit. Each team has a short prefix used to generate human-readable task references like `PLAT-42`.

***

## List teams

```http theme={null}
GET /team
Authorization: Bearer <token>
```

***

## Get team

```http theme={null}
GET /team/:id
Authorization: Bearer <token>
```

***

## Create team

```http theme={null}
POST /team
Authorization: Bearer <token>
Content-Type: application/json
```

```json theme={null}
{
  "name": "Platform",
  "prefix": "PLAT"
}
```

Required: `name`, `prefix`. The prefix must be unique and is used for task references.

***

## Update team

```http theme={null}
PATCH /team/:id
Authorization: Bearer <token>
Content-Type: application/json
```

```json theme={null}
{ "name": "Platform Engineering" }
```

***

## Delete team

```http theme={null}
DELETE /team/:id
Authorization: Bearer <token>
```

***

## List tasks in a team

```http theme={null}
GET /team/:id/task
Authorization: Bearer <token>
```
