---
title: "Delete a storage gateway"
method: DELETE
path: "/v1/storage_gateways/{storage_gateway_id}/"
---

# Delete a storage gateway

`DELETE /v1/storage_gateways/{storage_gateway_id}/`

## Request

- Base URL: `https://app.iconik.io/API/files`
- URL: `https://app.iconik.io/API/files/v1/storage_gateways/{storage_gateway_id}/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-files/docs/v1/storage_gateways/:storage_gateway_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `storage_gateway_id` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `204`

Storage gateway deleted successfully

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `403`: Forbidden - requires admin, or ISG PRO is not enabled
- `404`: Storage gateway doesn't exist
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-files.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-files/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-files/revisions/ed57d13791a2?raw)
