Skip to main content

Stop a Migration

POST 
/storage/migrations/:id/actions/stop

Stop a Migration

Request

Path Parameters

    id stringrequired

    Unique identifier for the data migration.

Responses

200: Create Migration Response

Request samples


curl -L -X POST 'https://api.telnyx.com/v2/storage/migrations/:id/actions/stop' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"id": "string",
"source_id": "string",
"target_bucket_name": "string",
"target_region": "string",
"refresh": true,
"last_copy": "2020-01-01T00:00:00Z",
"status": "pending",
"bytes_to_migrate": 0,
"bytes_migrated": 0,
"speed": 0,
"eta": "2020-01-01T00:00:00Z",
"created_at": "2020-01-01T00:00:00Z"
}
}