---
search:
  tags:
    - database-services
    - POST
seo:
  description: >-
    Puts a free server in the empty… Reference for the POST
    /api/v1/database-services/{id}/slots/{member_name}/fill endpoint in the
    TimescaleDB Enterprise API.
sidebar:
  label: Fill a member slot
  badge: POST
title: Fill a member slot
type: openapi-operation
---
Puts a free server in the empty member slot and rebuilds the member on it: the server is cloned from the leader as a Patroni replica with the member name of the slot, and the peers drop the previous server. The server must be enrolled, online, answer over the mesh and be free (in no service, DCS cluster, backup role or LiveSync session, and not in need of a cleanup). Every other member must be healthy.

`POST /api/v1/database-services/{id}/slots/{member_name}/fill`

**Request body** (`application/json`, required)

- `server_id` (string, required) — The free server that fills the slot. It must be enrolled, online and free.

Request body example:

```json
{
  "server_id": "string"
}
```

**Responses**

- `202` — Accepted
- `default` — Error

Response example, 202:

```json
{
  "member_name": "string",
  "server_id": "string",
  "server_name": "string",
  "workflow_id": "string"
}
```
