---
title: "Cut Over — API Reference"
canonical: "https://repull.dev/docs/api/migrations/cutover"
description: "POST /v1/migrations/:workspaceId/cutover — switch an imported workspace live so Repull takes over its channel connections."
updated: "2026-11-30T00:48:58.694Z"
commit: "18314c12fefb59a7545ef7607c0893919de20aa9"
---

# Cut over

Migrations · `POST /v1/migrations/:workspaceId/cutover`

Cut over

`POST /v1/migrations/:workspaceId/cutover`

> **Note:**
>
> Disconnects the source so it stops syncing. The imported data stays readable. Idempotent.

#### Request

**curl**

```bash
curl -X POST https://api.repull.dev/v1/migrations/1204/cutover \
  -H "Authorization: Bearer $REPULL_API_KEY"
```

**TypeScript**

```typescript
import { Repull } from '@repull/sdk'

const repull = new Repull({ apiKey: process.env.REPULL_API_KEY! })

await repull.migrations.cutover(1204)
```

**Python**

```python
import os
from repull import AuthenticatedClient
from repull.api.migrate import cutover_migration

client = AuthenticatedClient(
    base_url="https://api.repull.dev",
    token=os.environ["REPULL_API_KEY"],
)

cutover_migration.sync(client=client, workspace_id=1204)
```

**Go**

```go
import (
	"context"
	"os"

	"github.com/ivannikolovbg/repull-go/repull"
)

client, err := repull.NewClientWithResponses(
	repull.DefaultBaseURL,
	repull.WithBearer(os.Getenv("REPULL_API_KEY")),
)
ctx := context.Background()

resp, err := client.CutoverMigrationWithResponse(ctx, 1204)
```

**Ruby**

```ruby
config = Repull::Configuration.new
config.access_token = ENV.fetch('REPULL_API_KEY')
config.host = 'api.repull.dev'

client = Repull::ApiClient.new(config)

api = Repull::MigrateApi.new(client)
api.cutover_migration(1204)
```

**PHP**

```php
$config = Repull\Configuration::getDefaultConfiguration()
    ->setAccessToken(getenv('REPULL_API_KEY'));
$http = new GuzzleHttp\Client();

$api = new Repull\Api\MigrateApi($http, $config);
$api->cutoverMigration(1204);
```

**C#**

```csharp
using Repull.SDK;

var client = RepullClientFactory.Create(
    Environment.GetEnvironmentVariable("REPULL_API_KEY")!);

await client.V1.Migrations[1204].Cutover.PostAsync();
```

#### Response

```
{ "data": { "workspaceId": "1204", "state": "cut_over", "cutoverAt": "2026-10-01T09:00:00Z", "disconnectedConnections": 1 } }
```
