---
search:
  tags:
    - system
    - DELETE
seo:
  description: >-
    Deletes the pack from the data volume. The console refuses (409)… Reference
    for the DELETE /api/v1/packs/{name} endpoint in the TimescaleDB Enterprise
    API.
  noindex: true
sidebar:
  label: Remove server packages
  badge: DELETE
title: Remove server packages
type: openapi-operation
---
Deletes the pack from the data volume. The console refuses (409) when a server of a deployed or pending service, of a DCS cluster, or a backup server then has no pack for its OS version and architecture, or when a deployed service then has no pack with its PostgreSQL, TimescaleDB and extension versions. It also refuses the pack whose release a deployed or pending service pins, for the OS version and architecture of its PostgreSQL servers, also when another pack has the same versions. The message names these servers and services. A server with nothing deployed does not keep a pack: see remove_loses_servers in GET /packs. The removal deletes the install records of the pack (installed_on in GET /packs). The installed packages stay on the servers.

`DELETE /api/v1/packs/{name}`

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "outdated": [
    {
      "arch": "amd64",
      "command": "string",
      "file": "string",
      "label": "string",
      "os": "debian",
      "os_version": "string",
      "release": "string",
      "servers": [
        "string"
      ]
    }
  ],
  "packs": [
    {
      "arch": "amd64",
      "components": [
        {
          "name": "string",
          "postgresql_major": "string",
          "version": "string"
        }
      ],
      "installed_on": {
        "servers": [
          "string"
        ],
        "services": [
          "string"
        ]
      },
      "kind": "base",
      "name": "string",
      "older_release": true,
      "os": "string",
      "os_version": "string",
      "pinned_by": [
        "string"
      ],
      "postgresql": [
        {
          "major": "string",
          "minor": "string",
          "timescaledb": [
            "string"
          ]
        }
      ],
      "reason": "string",
      "release": "string",
      "remove_loses_servers": [
        "string"
      ],
      "remove_refusal": "string",
      "size_bytes": 0,
      "verified": true
    }
  ],
  "release": "string",
  "release_missing": [
    {
      "arch": "amd64",
      "command": "string",
      "file": "string",
      "kind": "base",
      "label": "string",
      "os": "string",
      "os_version": "string",
      "servers": [
        "string"
      ]
    }
  ]
}
```
