Reference Guide

HTTP
Code
Description Schema
422 Operation Failed error_response
POST /import_session/{id}/cancel
Description
Cancel an active import session. Cancel is allowed when the import is in a Scheduled, Queued,
Copy_In_Progress, or Ready_For_Cutover state. After a successful cancellation, the host is mapped to
original source volume, all paths are cleaned up, and the import state is Cancelled. The import can
be attempted again in the future. In most cases, the Cancel operation gracefully rolls back the
import based on the source and host error responses. Use the force option to stop the import job
irrespective of whether the storage system or hosts have issues. When the force option is true, the
import process tries to reach out to the source and host to gracefully terminate the import. If either
are not reachable or if the request fails, the import is terminated without rolling back.
Parameters
Type Name Description Schema
Path
id
required
Unique identifier of the import session string
Body
body
optional
import_session_canc
el
Responses
HTTP
Code
Description Schema
204 Success No Content
400 Invalid Request error_response
404 Not Found error_response
422 Operation Failed error_response
POST /import_session/{id}/pause
Description
Pauses an ongoing import session. When this occurs, the background data copy stops, but IO to the
source still occurs. Pause is only supported when the import job is in a in Copy_In_Progress state.
92
Dell EMC PowerStore REST API Reference Guide