Skip to main content
NetApp Knowledge Base

Unable to remove SCV policy due to failure to remove related backups

Views:
25
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

SnapCenter Plug-in for VMware vSphere (SCV) 4.x

Issue

Trying to delete a policy via REST API fails due to linked backups.
 
When trying to delete the, usually old backups listed for that policy in nsm_Backup using the following REST API command:
curl -X DELETE "https://<SCV_IP_OR_FQDN>:8144/api/4.1/backups" -H "accept: application/json" -H "Token: <LOGIN_TOKEN>" -H "Content-Type: application/json" -d "{ \"listOfBackupIds\": [ { \"backupId\": \"<BACKUP_ID>\" } ]}
 
(visible via the REST API GUI), the following error occurs:
 
400   Error: Bad Request
Response body
{
   "statusMessage": "BAD_REQUETS",
   "statusCode": 400,
   "responseMessage": [
      "Unable to verify backupId <BACKUP_ID>. Please check and specify a valid BackupId."
   ]
}

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.