Skip to content

Pause replication

POST
/databases/{id}/pause-replication
curl --request POST \
--url https://api.reflexdb.cloud/v1/databases/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/pause-replication \
--header 'Authorization: Bearer <token>'

Pauses CDC or poll-mode replication on the running instance. The snapshot freezes at its current state — queries continue to be served with stale data. Use before large bulk imports to prevent CPU saturation. Resume with /resume-replication. Only allowed from: running.

id
required
string format: uuid

Database ID

Default Response

Media type application/json
object
replication_paused
required
boolean
Example
{
"replication_paused": true
}

Default Response

Media type application/json
Error
object
error
required
string
message
string
Example generated
{
"error": "example",
"message": "example"
}

Default Response

Media type application/json
Error
object
error
required
string
message
string
Example generated
{
"error": "example",
"message": "example"
}

Default Response

Media type application/json
Error
object
error
required
string
message
string
Example generated
{
"error": "example",
"message": "example"
}