---
title: "Remove storage addon from workspace"
method: DELETE
path: "/workspaces/{workspace_id}/addons/storage"
tags: ["Workspaces"]
---

# Remove storage addon from workspace

`DELETE /workspaces/{workspace_id}/addons/storage`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/workspaces/{workspace_id}/addons/storage`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Decrease storage addon allocation by given GB from the aggregated addon

## Path parameters

- `workspace_id` integer, required: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

## Request body

- RemoveStorageAddonRequest
  - `removal_storage_gb` integer, required: Amount of additional storage to remove from aggregated addon in gigabytes

## Response `200`

Request fulfilled, document follows

- object

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/4b2c943a00dc?raw)
