# Method: projects.locations.storagePools.ontap.executeOntapDelete

- [HTTP request](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagePools.ontap/executeOntapDelete#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagePools.ontap/executeOntapDelete#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagePools.ontap/executeOntapDelete#body.request_body)
- [Response body](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagePools.ontap/executeOntapDelete#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagePools.ontap/executeOntapDelete#body.ExecuteOntapDeleteResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagePools.ontap/executeOntapDelete#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagePools.ontap/executeOntapDelete#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/netapp/volumes/docs/reference/rest/v1alpha1/projects.locations.storagePools.ontap/executeOntapDelete#try-it)

`ontap.executeOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool` cluster.

### HTTP request

`DELETE https://netapp.googleapis.com/v1alpha1/{ontapPath=projects/*/locations/*/storagePools/*/ontap/**}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `ontapPath` | `string` Required. The resource path of the ONTAP resource. Format: `projects/{projectNumber}/locations/{locationId}/storagePools/{storagePoolId}/ontap/{ontap_resource_path}`. For example: `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`. |

### Request body

The request body must be empty.

### Response body

Response message for `ontap.executeOntapDelete` API.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "body": { object } } ``` |

| Fields ||
|---|---|
| `body` | ``object (`https://protobuf.dev/reference/protobuf/google.protobuf#struct` format)`` The raw `JSON` body of the response. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `ontapPath` resource:

- `netapp.ontap.delete`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).