Delete a storage pool specified by the UUID
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
DELETE /storage/pools/{uuid}
Introduced In: 9.11
Deletes the storage pool specified by the UUID. This request starts a job and returns a link to that job.
Related ONTAP commands
-
storage pool delete
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
uuid |
string |
path |
True |
Storage Pool UUID. |
return_timeout |
integer |
query |
False |
The number of seconds to allow the call to execute before returning. When doing a POST, PATCH, or DELETE operation on a single record, the default is 0 seconds. This means that if an asynchronous operation is started, the server immediately returns HTTP code 202 (Accepted) along with a link to the job. If a non-zero value is specified for POST, PATCH, or DELETE operations, ONTAP waits that length of time to see if the job completes so it can return something other than 202.
|
Response
Status: 202, Accepted
Name | Type | Description |
---|---|---|
job |
Example response
{
"job": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"uuid": "string"
}
}
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
11209668 |
Capacity from pool is being used by one or more aggregates. |
11209670 |
Unable to stop sharing a constituent disk of the storage pool. |
11209671 |
Cannot find a node sharing this storage pool. |
11209672 |
Disk is not shared. |
11209673 |
Unable to assign shared capacity from a constituent disk. |
11209675 |
A constituent disk of the storage pool has non-spare capacity. |
11209676 |
A constituent disk of the storage pool is reserved for coredump. |
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
_links
Name | Type | Description |
---|---|---|
self |
job_link
Name | Type | Description |
---|---|---|
_links |
||
uuid |
string |
The UUID of the asynchronous job that is triggered by a POST, PATCH, or DELETE operation. |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |