[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-21 UTC."],[[["\u003cp\u003eThis webpage documents the process of deleting an interactive session resource, which includes terminating the session if it's not already in a terminal state.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request method for deleting a session is \u003ccode\u003eDELETE\u003c/code\u003e, using a specified URL structure that incorporates gRPC Transcoding syntax, and requiring a path parameter named \u003ccode\u003ename\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is a mandatory string representing the name of the session resource to be deleted, and requires the \u003ccode\u003edataproc.sessions.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003erequest_Id\u003c/code\u003e query parameter, which is used for request identification, can be included in the deletion request and must adhere to specific formatting and length constraints.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be left empty when deleting a session, and a successful response will return an Operation instance.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.sessions.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.\n\n### HTTP request\n\n`DELETE https://dataproc.googleapis.com/v1/{name=projects/*/locations/*/sessions/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/dataproc-serverless/docs/reference/rest/v1/projects.locations.operations#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]