Skip to main content
A newer release of this product is available.

Delete an aggregate specified by the UUID

Contributors

DELETE /storage/aggregates/{uuid}

Deletes the aggregate specified by the UUID. This request starts a job and returns a link to that job.

  • storage aggregate delete

Parameters

Name Type In Required Description

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.

uuid

string

path

True

Aggregate UUID

Response

Status: 202, Accepted
Name Type Description

job

job_link

Example response
{
  "job": {
    "_links": {
      "self": {
        "href": "/api/resourcelink"
      }
    },
    "uuid": "string"
  }
}

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

460770

The aggregate delete job failed to delete the aggregate.

460777

Failed to get information on the delete job.

786435

Internal Error. Failed to create a communication handle.

786451

Failed to delete specified aggregate.

786468

VLDB is offline.

786472

Node that hosts the aggregate is offline.

786497

Cannot delete an aggregate that has volumes.

786771

Aggregate does not exist.

786867

Specified aggregate resides on the remote cluster.

786897

Specified aggregate cannot be deleted as it is a switched-over root aggregate.

Name Type Description

error

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

Name Type Description

self

href

Name Type Description

_links

_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.