Delete All Backups

Delete all backups.

Warning
Deleting all backups permanently deletes all backed up collections and the data they contain. Do so only when there is no possibility that the data will be needed in the future.

Request

Send an HTTP request with these elements.

Element Description

Method

DELETE

Endpoint

customers/customerId/backups/

Request header fields

Request header fields specify metadata for the request. For example, the Authorization header contains the OAuth2 access token.

Message body

None

Response

A response from a request to get the status of a long-running task contains these elements.

Element Description

Status line

The status line contains the status code and the reason phrase.

Response header fields

Response header fields specify metadata about the response.

Message body

JSON object that contains status information about the request and a taskId:

{
  "status": "string",
  "taskId": "string"
}

Example

Request:

curl -vs -X DELETE "https://pg01.us-west1.cloud.lucidworks.com/managed/api/customers/lucidworks/clusters/${CLUSTERID}/backups" -H "accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer accessTokenManagedSearch"

Response:

{
  "status": "string",
  "taskId": "string"
}