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

uuid

string

path

True

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

786468

VLDB is offline.

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.

786497

Cannot delete an aggregate that has volumes.

786435

Internal Error. Failed to create a communication handle.

786451

Failed to delete specified aggregate.

786472

Node that hosts the aggregate is offline.

460777

Failed to get information on the delete job.

460770

The aggregate delete job failed to delete the 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.