---
search:
  tags:
    - database-services
    - POST
seo:
  description: >-
    The server leaves the member… Reference for the POST
    /api/v1/database-services/{id}/slots/{member_name}/release endpoint in the
    TimescaleDB Enterprise API.
  noindex: true
sidebar:
  label: Release a member slot
  badge: POST
title: Release a member slot
type: openapi-operation
---
The server leaves the member slot and stays in Servers with its name and its mesh identity. If the server is online: when the member leads, Patroni first switches over to a healthy replica; then the console stops and disables the services on the server and deletes its PostgreSQL data and its etcd data, and the server is free. If the server is unreachable: it leaves the slot at once, and the console deletes its data when it is online again; until then it needs cleanup and is not free. If the cleanup cannot remove a part, the server needs cleanup too. Every other member must be healthy, and no other slot can be empty or wait for a rebuild. Then fill the slot with a server.

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

**Responses**

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

Response example, 202:

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