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

Delete a snapshot copy of an application

the following query deletes all application snapshot copies created before may 4, 2017<br/><br/>

delete /application/applications/{applicationuuid}/snapshots?create_time=<2017-05-04t00:00:00-05:00

learn more

  • [doc /application/applications/{applicationuuid}/snapshots](#docs-application-application_applications_{applicationuuid}_snapshots)

DELETE /application/applications/{application.uuid}/snapshots/{uuid}

Delete a Snapshot copy of an application

Query examples

Individual Snapshot copies can be destroyed with no query parameters, or a range of Snapshot copies can be destroyed at one time using a query.

The following query deletes all application Snapshot copies created before May 4, 2017

DELETE /application/applications/{application.uuid}/snapshots?create_time=<2017-05-04T00:00:00-05:00

Parameters

Name Type In Required Description

application.uuid

string

path

True

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, Error
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.

Close
Try it out

Sign in with your NetApp Cloud Central credentials.

Try this API

Parameters

Headers

Body

Code

Response