Available in Classic and VPC
Stop the migration task.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| POST | /migration-api/v1/policy/{title}/pause |
Request headers
For information about the headers common to all Object Migration APIs, see Object Migration request headers.
Request path parameters
You can use the following path parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
title |
String | Required | Migration policy name
|
Request example
The request example is as follows:
curl --location --request POST 'https://objectmigration.apigw.ntruss.com/migration-api/v1/policy/migrationpolicy/pause' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'x-ncp-region_code: KR'
Response
This section describes the response format.
Response body
The response body includes the following data:
| Field | Type | Required | Description |
|---|---|---|---|
title |
String | - | Migration policy name |
sourceBucketName |
String | - | Source bucket name |
sourceRegionName |
String | - | Source Region code |
sourceCspType |
String | - | Source CSP type
|
sourceEndpoint |
String | - | Source endpoint |
sourcePrefix |
String | - | Source data prefix
|
targetBucketName |
String | - | Target bucket name |
targetRegionName |
String | - | Target Region code |
targetEndpoint |
String | - | Target endpoint |
targetPrefix |
String | - | Prefix
|
jobState |
String | - | Job status
|
createTime |
String | - | Policy creation date and time
|
updateTime |
String | - | Policy update date and time
|
estimatedDone |
Boolean | - | Source object listing completion status
|
estimatedSize |
Number | - | Total capacity of source data |
migratedSize |
Number | - | Migrated data capacity |
skippedSize |
Integer | - | Unmigrated data capacity |
estimatedObjectNum |
Integer | - | Source object count |
migratedObjectNum |
Integer | - | Migrated object count |
skippedObjectNum |
Integer | - | Unmigrated object count |
Response status codes
For information about the HTTP status codes common to all Object Migration APIs, see Object Migration response status codes.
Response example
The response example is as follows:
{
"title": "migrationpolicy",
"sourceBucketName": "migration135",
"sourceRegionName": "ap-southeast-2",
"sourceCspType": "AWS",
"sourceEndpoint": "https://s3.ap-southeast-2.amazonaws.com",
"sourcePrefix": "",
"targetBucketName": "migrationbucket",
"targetRegionName": "KR",
"targetEndpoint": "https://kr.object.ncloudstorage.com",
"targetPrefix": "data/",
"jobState": "PAUSED",
"createTime": "2025-07-15T00:32:36.480+00:00",
"updateTime": "2025-07-15T01:29:22.698+00:00",
"estimatedDone": true,
"estimatedSize": 5402293,
"migratedSize": 0,
"skippedSize": 0,
"estimatedObjectNum": 10,
"migratedObjectNum": 0,
"skippedObjectNum": 0
}