Zerto Virtual Replication APIs : VPGs API : https://zvm_ip:port/v1/vpgs – DELETE Methods
  
https://zvm_ip:port/v1/vpgs – DELETE Methods
Delete a specified VPG, keeping the target disks to use for preseeding if the virtual machines are reprotected.
URI
Delete VPG
https://zvm_ip:port/v1/vpgs/{VpgIdentifier}
Where:
zvm_ip
The IP address of the Zerto Virtual Manager where the API is run.
port
The port to access the Zerto Virtual Manager. The default port is 9669.
VpgIdentifier
The identifier of the VPG to be deleted.
Json Request Format
The following is an example request Json body for https://zvm_ip:port/v1/vpgs/{VpgIdentifier}.
{
  "Force":Boolean,
  "KeepRecoveryVolumes":Boolean
}
XML Request Format
For the XML response format, see VPGs API DELETE Method Request and Response Formats.
Request Values
Request values for https://zvm_ip:port/v1/vpgs/{VpgIdentifier}.
Parameter
Description
Force
true – Force deletion of the VPG.
false – Do not force deletion of the VPG. This is the default if Force is not set.
KeepRecoveryVolumes
true – Keep the recovery volumes. If the virtual machines in the deleted VPG are reprotected, these volumes can be used as preseeded volumes to speed up the initial synchronization of the new VPG.
false – Do not keep the recovery volumes.
Json Response Format
The following is an example response Json body for https://zvm_ip:port/v1/vpgs/{VpgIdentifier}.
"String content"
XML Response Format
For the XML response format, see VPGs API DELETE Method Request and Response Formats.
Response Values
The response value is the task identifier which can be used with the Tasks API to monitor the delete action.