Move Recovery Plan Folder
Move a specified folder into a destination folder. This operation is typically used by clients when implementing a drag-and-drop interface for moving folders.
The objects that can be moved into a folder depend on the parent folder's type. You can move only recovery plans and recovery plan folders into a folder constructed for recovery plans. You can move only protection groups and protection group folders into a folder constructed for protection groups.
This method requires VcDr.RecoveryProfile.com.vmware.vcDr.Edit
privilege on the moved folder and the source and destination parent folders.
The ID of a pairing between this Site Recovery Manager server and remote one.
ID of the recovery plan folder.
Spec describing the destination folder for the movement of the recovery plan folder.
{
"destination_parent": "string"
}
Destination parent folder for the movement operation.
Task to track progress of the operation.
"TaskDrResponseEntity Object"
Bad request - the server cannot understand the request due to invalid syntax or invalid request body content
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"destination_parent:"string"}' https://{api_host}/pairings/{pairing_id}/recovery-management/inventory/{folder_id}/actions/move