---
title: "Delete Volume in a Stateful Instance"
method: DELETE
path: "/aws/ec2/group/{groupId}/statefulInstance/{statefulInstanceId}/volume/{volumeId}"
tags: ["Elastigroup AWS"]
---

# Delete Volume in a Stateful Instance

`DELETE /aws/ec2/group/{groupId}/statefulInstance/{statefulInstanceId}/volume/{volumeId}`

Delete a Volume that is part of a paused stateful instance

## Path parameters

- `volumeId` string, required

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref
- `#/paths/~1aws~1ec2~1group~1%7BgroupId%7D~1statefulInstance/get/parameters/1` — unresolved $ref
- `#/paths/~1aws~1ec2~1group~1%7BgroupId%7D~1statefulInstance~1%7BstatefulInstanceId%7D~1pause/put/parameters/2` — unresolved $ref

## Response `200`

Delete Response

- object
  - `request` object — Original request properties
    - `id` string — Unique ID associated with this request
    - `url` string — The URL that was used for the request
    - `method` string — The HTTP **METHOD** used for the request
    - `timestamp` string — When the request was received by Spot
  - `response` object — Response package that includes, status, type and any relevant data.
    - `status` object
      - `code` integer — HTTP status code assigned to this response
      - `message` string — HTTP status message for the respective status code

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.dev/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spot/apis/spot-by-flexera-api/revisions/9516df3663d7?raw)
