---
title: "POST /v1/{+name}:terminate"
method: POST
path: "/v1/{+name}:terminate"
tags: ["projects"]
---

# POST /v1/{+name}:terminate

`POST /v1/{+name}:terminate`

Terminates the interactive session.

## Path parameters

- `name` string, required

## Request body

- TerminateSessionRequest — A request to terminate an interactive session.
  - `requestId` string — Optional. A unique ID used to identify the request. If the service receives two TerminateSessionRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.TerminateSessionRequest)s with the same ID, the second request is ignored.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dataproc.md) · [All operations](https://skmtc.net/google/apis/dataproc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dataproc/versions/15847ccbcf7d/schema)
