---
title: "Shred a disk"
method: POST
path: "/disks/{DiskId}/shred"
tags: ["Disks"]
---

# Shred a disk

`POST /disks/{DiskId}/shred`

## Request

- Base URL: `https://sort.veritas.com/infoscale/api/2.0`
- URL: `https://sort.veritas.com/infoscale/api/2.0/disks/{DiskId}/shred`
- Auth: none declared
- TypeScript: <https://skmtc.dev/veritas/apis/veritas-infoscale-api/docs/disks/:DiskId/shred/post.ts> (a function with typed inputs; its response is checked against the schema)

Shred a disk under volume manager

## Path parameters

- `DiskId` string, required

## Query parameters

- `nodename` string

## Request body

- object
  - `Shred` integer: Overwrites the data on the disk with a digital pattern in one or more passes. Specify the number of passes as 1, 3,or 7. The default is 1 pass.

## Response `200`

The request has succeeded.

- Response
  - `detail` string: Error details.
  - `status` integer: http code

## Other responses

- `202`: The request has been initiated.
- `400`: Bad request
- `401`: The requested operation requires authentication.
- `403`: Forbidden
- `404`: Object that the endpoint is working on is not found.

---

[API](https://skmtc.dev/veritas/apis/veritas-infoscale-api.md) - [All operations](https://skmtc.dev/veritas/apis/veritas-infoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/veritas/apis/veritas-infoscale-api/revisions/1e3d3f7145bb?raw)
