Deletes the data from a debug session. This does not cancel the debug session or prevent further data from being collected if the session is still active in runtime pods.
Required. The name of the debug session to delete. Must be of the form: organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debugsession}.
If the API proxy resource has the space attribute set, IAM permissions are checked differently . To learn more, read the Apigee Spaces Overview.
Authorization requires the following IAM permission on the specified resource name:
apigee.tracesessions.delete
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["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-02 UTC."],[[["This webpage documents the process for deleting data from an Apigee debug session using an HTTP DELETE request."],["The request URL requires a specific format including organization, environment, API, revision, and debug session names within the path."],["Deleting data from a debug session does not stop the session itself, but rather only clears collected data."],["The request must have an empty body and if successful, will return an empty JSON object."],["Authorization requires `apigee.tracesessions.delete` IAM permission and `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]