---
title: "POST /v1/projects/{project}/instances/{instance}/workloadCaptures:stopReplay"
method: POST
path: "/v1/projects/{project}/instances/{instance}/workloadCaptures:stopReplay"
tags: ["workloadCaptures"]
---

# POST /v1/projects/{project}/instances/{instance}/workloadCaptures:stopReplay

`POST /v1/projects/{project}/instances/{instance}/workloadCaptures:stopReplay`

## Request

- Base URL: `https://sqladmin.googleapis.com`
- URL: `https://sqladmin.googleapis.com/v1/projects/{project}/instances/{instance}/workloadCaptures:stopReplay`
- Auth: one of:
  - OAuth 2 (implicit, authorization URL `https://accounts.google.com/o/oauth2/auth`, scopes: `https://www.googleapis.com/auth/cloud-platform`) and OAuth 2 (authorization code, authorization URL `https://accounts.google.com/o/oauth2/auth`, token URL `https://accounts.google.com/o/oauth2/token`, scopes: `https://www.googleapis.com/auth/cloud-platform`)
  - OAuth 2 (implicit, authorization URL `https://accounts.google.com/o/oauth2/auth`, scopes: `https://www.googleapis.com/auth/sqlservice.admin`) and OAuth 2 (authorization code, authorization URL `https://accounts.google.com/o/oauth2/auth`, token URL `https://accounts.google.com/o/oauth2/token`, scopes: `https://www.googleapis.com/auth/sqlservice.admin`)

Stops an active workload replay on the target Cloud SQL replay instance.

## Path parameters

- `project` string, required
- `instance` string, required

## Request body

- SqlWorkloadCapturesStopReplayRequest: Request to stop an active workload replay on a target Cloud SQL replay instance.
  - `stopWorkloadReplayContext` StopWorkloadReplayContext: The context for the `StopWorkloadReplay` operation, which represents an operation that stops an active workload replay on a target Cloud SQL replay instance.

## Response `200`

Successful response

## Changes

- **2026-10-17** `285bfb6e09bc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/google/apis/sqladmin/changes/v1/projects/:project/instances/:instance/workloadCaptures:stopReplay/post.md)

---

[API](https://skmtc.dev/google/apis/sqladmin.md) · [All operations](https://skmtc.dev/google/apis/sqladmin/llms.txt) · [OpenAPI document](https://skmtc.dev/google/apis/sqladmin/revisions/285bfb6e09bc?raw)
