---
title: "Restart connector"
method: POST
path: "/v1/kafka-connect/clusters/{cluster_name}/connectors/{name}/restart"
tags: ["Kafka Connect"]
---

# Restart connector

`POST /v1/kafka-connect/clusters/{cluster_name}/connectors/{name}/restart`

## Request

- Base URL: `https://{dataplane_api_url}`
- URL: `https://{dataplane_api_url}/v1/kafka-connect/clusters/{cluster_name}/connectors/{name}/restart`
- Auth: OAuth 2
  - Implicit: `https://auth.prd.cloud.redpanda.com/oauth/authorize`

Triggers a connector restart. You must specify whether or not tasks are also restarted, and whether only failed connectors are restarted.

## Path parameters

- `cluster_name` string, required
- `name` string, required

## Request body

- Options
  - `include_tasks` boolean: Restart connector's tasks.
  - `only_failed` boolean: Restart only connectors that have failed.

## Response `204`

Restart connector request success

- unknown

## Other responses

- `401`: Unauthenticated.
- `500`: Internal Server Error. Reach out to support.
- `default`: An unexpected error response.

## Changes

- **2025-03-18** `d8ef59d98e13`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api/changes/v1/kafka-connect/clusters/:cluster_name/connectors/:name/restart/post.md)

---

[API](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api.md) - [All operations](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api/llms.txt) - [OpenAPI document](https://skmtc.dev/redpanda-data/apis/redpanda-cloud-data-plane-api/revisions/ff1b476fd533?raw)
